You are not logged in.

#1 2011-05-25 06:41:58

RufusD
Member
Registered: 2010-03-21
Posts: 86

mp3 player that can slow down/speed up songs?

Hi there!
Is there an mp3 player that allows me to change the speed of the songs? I know that audacity can do this, but I need an on-the-fly solution, I don't want to alter the files on disk.

Any suggestions will be appreciated!
Best wishes,
Rufus

Offline

#2 2011-05-25 06:46:15

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mp3 player that can slow down/speed up songs?

Sure, mplayer / mplayer2 can do it.

mplayer -af scaletempo -speed 1.5

or just

mplayer -af scaletempo

if you prefer to start playing at the default speed.
You can speed up / slow down on the fly using '[' and ']' keys.

Last edited by karol (2011-05-25 06:47:49)

Offline

#3 2011-05-25 20:39:07

RufusD
Member
Registered: 2010-03-21
Posts: 86

Re: mp3 player that can slow down/speed up songs?

Thanks for the answer! I never knew mplayer could do this. However, this also changes the tuning of the song (as does alsaplayer). I *think* I once heard it's nowadays possible to change the speed without messing with the frequencies. Is this even thinkable?

Offline

#4 2011-05-25 20:54:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mp3 player that can slow down/speed up songs?

From the mplayer2 manpage

scaletempo[=option1:option2:...]
              Scales audio tempo without altering pitch, optionally synced to playback speed (default).
...
                 speed=<tempo|pitch|both|none>
                      Set response to speed change.
                         tempo
                              Scale tempo in sync with speed (default).
                         pitch
                              Reverses effect of filter.  Scales pitch without altering tempo.   Add  '[  speed_mult
                              0.9438743126816935' and '] speed_mult 1.059463094352953' to your input.conf to step by
                              musical semi-tones.  WARNING: Loses sync with video.
                         both Scale both tempo and pitch.
                         none Ignore speed changes.

If you scale tempo

mplayer -af scaletempo=speed=tempo

(it has the same effect as the example in my previous post)
the pitch remains constant, but the song plays faster / slower.
If you scale pitch

mplayer -af scaletempo=speed=pitch

the song will play at the same speed (will have the same duration) but you can change the pitch.

Offline

#5 2011-05-26 08:33:20

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: mp3 player that can slow down/speed up songs?

Hey cool, I also didn't know mplayer can do this.

Offline

#6 2011-05-26 16:02:09

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mp3 player that can slow down/speed up songs?

Army wrote:

Hey cool, I also didn't know mplayer can do this.

Many players can, even sox (play):

play <filename> tempo 1.5

or

play <filename> speed 1.5

If you ♥ chipmunks.

People often run 'mplayer' alone, w/o specifying '-af scaletempo' and when they change the speed of the song, the pitch changes too and that's a bummer in most cases.

Offline

#7 2011-05-26 21:31:39

hermes
Member
From: Lucca, Italy
Registered: 2010-05-19
Posts: 99

Re: mp3 player that can slow down/speed up songs?

Any mplayer based player should do it. I use smplayer: { to scale down and } to scale up.
VLC does it as well.


Linux Registered User #362737

Offline

#8 2011-05-26 21:54:41

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: mp3 player that can slow down/speed up songs?

hermes wrote:

Any mplayer based player should do it. I use smplayer: { to scale down and } to scale up.
VLC does it as well.

With [ and ] you'll get smaller steps.

Offline

#9 2011-05-27 00:46:22

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: mp3 player that can slow down/speed up songs?

Sampling a song at a random speed with mplayer was actually the focus of an entire script: https://bbs.archlinux.org/viewtopic.php?id=56646&p=58


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#10 2011-05-27 00:52:06

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mp3 player that can slow down/speed up songs?

ConnorBehan wrote:

Sampling a song at a random speed with mplayer was actually the focus of an entire script: https://bbs.archlinux.org/viewtopic.php?id=56646&p=58

Cool :-)
Next time can you please link to the specific post instead of a page? Some of us use non-default setups (I prefer to view 75 posts per page). Thanks :-)

Offline

#11 2011-05-27 02:23:58

ConnorBehan
Package Maintainer (PM)
From: Long Island NY
Registered: 2007-07-05
Posts: 1,359
Website

Re: mp3 player that can slow down/speed up songs?

Oops! It's https://bbs.archlinux.org/viewtopic.php … 52#p895852 but you must remember reading it cause yours is the next post tongue.


6EA3 F3F3 B908 2632 A9CB E931 D53A 0445 B47A 0DAB
Great things come in tar.xz packages.

Offline

#12 2011-05-27 17:19:44

jlindgren
Member
Registered: 2011-02-27
Posts: 260

Re: mp3 player that can slow down/speed up songs?

Audacious has a plugin that does this as well.

Offline

#13 2011-06-12 15:09:53

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: mp3 player that can slow down/speed up songs?

You might want to try http://www.teuton.org/~gabriel/stretchplayer/ It's available from [archaudio-testing] but don't ask me how to configure it ;P

Offline

#14 2011-06-13 13:24:00

iFSS
Member
Registered: 2011-01-29
Posts: 33

Re: mp3 player that can slow down/speed up songs?

Mixxx's time-stretching works extremely well for not altering the pitch.

Offline

Board footer

Powered by FluxBB