raw audio in windows
kylotan at gmail.com
Fri Sep 1 12:13:05 CEST 2006
> Hi. I've written a small python script that was primarily meant for
> use in a unix-compatible environment. It writes a bunch of raw audio
> to a file and then sends the file to /dev/audio and the system plays
> the audio. Very simple.
> Is there a simple way I could edit the script (which just uses the
> system call to do this) to run under windows?
> This is the code that would have to change:
> os.system("cat audioBuf > /dev/audio")
Not really. You'll have to convert it to .wav and then pass it to a
More information about the Python-list