How to play a fixed frequency sound using Python
- by user98415
I have tried a number of ways of playing a fixed frequency sound (e.g. 1000Hz) and nothing works.
I have downloaded "beep" and that makes no noise.
I tried interfacing to pyao, and that had no effect.
I tried interfacing to audiere, and get a runtime error indicating the library could not be found, despite installing it from the software centre.
Any guidance for installation of appropriate libraries and relevant code would be most appreciated.
I cannot generate .mp3/ .wav files for this, but need to generate the tones at run time.
Many thanks for you