romanz / amodem

Audio MODEM Communication Library in Python
Other
965 stars 121 forks source link

Make sure the code works on Windows #3

Closed romanz closed 9 years ago

romanz commented 10 years ago

find replacement for aplay and arecord.

romanz commented 10 years ago

consider using http://sourceforge.net/p/sox/code/ci/master/tree/README.win32

romanz commented 9 years ago

https://github.com/elijahr/portaudio-ctypes

romanz commented 9 years ago

https://github.com/romanz/PySoundCard/blob/master/win/portaudio32.dll Use --audio-library flag to load the specific DLL on Windows.

RomanBelkov commented 8 years ago

https://github.com/bastibe/PySoundCard/blob/master/win/portaudio32.dll -- this link is broken

RomanBelkov commented 8 years ago

Also, I've managed to set up and build portaudio, so I may provide the portaudio32.dll (after a couple of checks on other machines).

Moreover, It is not clear how one changes bitrate on Windows.

romanz commented 8 years ago

Thanks for noticing! It seems that it has moved to https://github.com/bastibe/PySoundCard/blob/da8b4f057ff5ecfc3f1c7db491a9495654c9c6a0/_soundcard_data/portaudio32bit.dll... I have updated the link above to a fork for the original repository, before the file were moved.

It will be great if you could also build and provide the DLL for Windows machines (since I don't have easy access to Windows development environment...)

romanz commented 8 years ago

Regarding the bitrate, I have used environment variable BITRATE (via os.environ). IIRC, on Windows, it should be specified via the set command from the command-line, before running the modem, e.g.:

set BITRATE=16