PDA

View Full Version : [SOLVED] Python wave



holihue
April 17th, 2007, 02:16 PM
How can i make .wav files with the wave module in python?


Thanks

pmasiar
April 17th, 2007, 03:11 PM
did you tried http://www.google.com/search?q=python+wave ?

holihue
April 17th, 2007, 03:20 PM
Yes, but I need some kind of data in wave.writeframes().

I don't know what data it is.

snoop
April 17th, 2007, 04:38 PM
The data is whatever audio you have opened up.

For example, if you want to add a wave file to the end of another wave file,

you open both files -> then take the audio (the data) from the second one and use writeframes() to add it to the first file.

holihue
April 17th, 2007, 07:06 PM
thanks