Playing A Sound From Data Stored In A Variable In Python
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
Solution 1:
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.
Post a Comment for "Playing A Sound From Data Stored In A Variable In Python"