Increase mp3 play rate

This is the place for queries that don't fit in any of the other categories.

Increase mp3 play rate

Postby tnknepp » Thu Mar 21, 2013 7:16 pm

I have an mp3 player that is nearly ten years old, so it lacks many bells and whistles that newer incarnations have. I want to listen to my audio book at a faster rate (not higher pitch) thank what the mp3 files currently play at. I have nearly 1200 files to change, so changing them one by one is not an option. I've done a cursory search online for ways of altering the play rate in python, but to no avail. Has anyone here done this, and can you point me in the right direction? This is territory that I have never visited before.
Python: 2.7 via Anaconda
Numpy: 1.7
Pandas: 0.11
OS: Windows 7
IDE: Spyder/IPython
User avatar
tnknepp
 
Posts: 123
Joined: Mon Mar 11, 2013 7:41 pm

Re: Increase mp3 play rate

Postby setrofim » Thu Mar 21, 2013 7:31 pm

Your best bets are probably going to be pymedia for decoding/encoding MP3, and pyaudio for manipulating the audio stream.
setrofim
 
Posts: 288
Joined: Mon Mar 04, 2013 7:52 pm

Re: Increase mp3 play rate

Postby tnknepp » Thu Mar 21, 2013 7:53 pm

setrofim wrote:Your best bets are probably going to be pymedia for decoding/encoding MP3, and pyaudio for manipulating the audio stream.


Thanks. Unfortunately it looks like pymedia requires Python2.4, I have 2.7, and complains when I try to install.
Python: 2.7 via Anaconda
Numpy: 1.7
Pandas: 0.11
OS: Windows 7
IDE: Spyder/IPython
User avatar
tnknepp
 
Posts: 123
Joined: Mon Mar 11, 2013 7:41 pm

Re: Increase mp3 play rate

Postby setrofim » Thu Mar 21, 2013 8:15 pm

Uh, yeah, it's really old, an looks like it hasn't been updated in a while. If you're on Windows, you can find an installer that works on 2.7 here.
setrofim
 
Posts: 288
Joined: Mon Mar 04, 2013 7:52 pm

Re: Increase mp3 play rate

Postby tnknepp » Thu Mar 21, 2013 8:55 pm

Sweet, thanks.
Python: 2.7 via Anaconda
Numpy: 1.7
Pandas: 0.11
OS: Windows 7
IDE: Spyder/IPython
User avatar
tnknepp
 
Posts: 123
Joined: Mon Mar 11, 2013 7:41 pm


Return to General Coding Help

Who is online

Users browsing this forum: No registered users and 2 guests