Skip to content

Running from Python script! #48

@zack77789

Description

@zack77789

Can someone show a short example how to run this from Python? I want to use this from Python script - function send and recv respectivelly ?

from amodem import config
from amodem import audio
from amodem import main

configuaration = config.Configuration()
interface = audio.Interface(configuration)
audio_library = "../../libportaudio64bit.dll"
interface.load(audio_library)

#src =
#dst =

main.send(config, src, dst, gain=1.0, extra_silence=0.0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions