Reputation: 1
I'm actually doing a school project about sound and i would like to learn how to use a sound in stereo by using a python (or numpy) program, my experience is to put a microphone somewhere and play two sounds with opposite frequence to "destroy" them. My goal is to have no sound from my microphone, thank you for reading
Upvotes: 0
Views: 57
Reputation: 3835
Unfortunately there is no sound playing support in the python standard library. You can try to use for example this library. There are lots of sample programs. One of them even shows ho to play a raw sine signal. Another shows how to visualize microphone input.
To experiment with detructive inteference, I would recommend create two sine signals with an adjustable phase difference and play them as a stereo stream.
Upvotes: 1