Re: Play sound at wanted frequency

2009-04-18 Thread Matteo
On 15 Apr, 19:25, Scott David Daniels wrote: > Diez B. Roggisch wrote: > > Matteo schrieb: > >> I need to playback a sound on a linux machine of a pre-determined > >> frequency like, say, 440 Hz. How can I do that with python? I found > >> the ossaudiodev package, but it says that the ossaudiodev.

Re: Play sound at wanted frequency

2009-04-15 Thread Scott David Daniels
Diez B. Roggisch wrote: Matteo schrieb: I need to playback a sound on a linux machine of a pre-determined frequency like, say, 440 Hz. How can I do that with python? I found the ossaudiodev package, but it says that the ossaudiodev.write() method accepts data as a raw string. It doesn't explain

Re: Play sound at wanted frequency

2009-04-14 Thread Diez B. Roggisch
Matteo schrieb: I need to playback a sound on a linux machine of a pre-determined frequency like, say, 440 Hz. How can I do that with python? I found the ossaudiodev package, but it says that the ossaudiodev.write() method accepts data as a raw string. It doesn't explain what the string should be

Play sound at wanted frequency

2009-04-14 Thread Matteo
I need to playback a sound on a linux machine of a pre-determined frequency like, say, 440 Hz. How can I do that with python? I found the ossaudiodev package, but it says that the ossaudiodev.write() method accepts data as a raw string. It doesn't explain what the string should be like, and the oss