tags:

views:

43

answers:

1

I have a number of MP3 files containing lectures where the speaker talks very slowly and I would like to alter the MP3 file so that the playback rate is about 1.5 times as fast as normal.

Can someone suggest a good Python library for this? By the way, I'm running Python 2.6 on Windows.

Thanks in advance.

A: 

pymedia includes a recode_audio.py example that allows arbitrary input and output formats available here. This of course requires the installation of pymedia as well.

Note that as Nick T notes, if you just change the sample-rate without resampling you'll get high-pitched 'fast' audio, so you'll want to employ time-stretching in combination with changing the bit-rate.

synthesizerpatel