Is it possible? I'd like run over a batch of audio files and produce graphic waveform files from them. Similar to what SoundCloud displays, but perhaps the module(s) im seeking will offer a few more options.
Whats out there? whats good?
The function needs two parameters - first the file name and second the mode. The mode can be 'wb' for writing audio data or 'rb' for reading. A mode of 'rb' returns a Wave_read object, while a mode of 'wb' returns a Wave_write object. Close the file if it was opened by wave.
See this example, it is exactly what you want in pure Python. You have another options too, but using audiolab
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With