Reputation: 1172
I am using Python 2.7, win 7, 64bit and I need to play a sound data stored in a variable. Of course, there is a possibility to make a WAV file and play it, but is there any option to play that directly? Could you recommend a library, etc. etc.? Apparently, audiere is outdated by now (as presented in Playing a sound from a wave form stored in an array).
Upvotes: 0
Views: 2795
Reputation: 627
What you might be looking for is pyAudio : http://people.csail.mit.edu/hubert/pyaudio/docs/
See in the example how they are storing a wav file in a variable and then playing it.
Upvotes: 1