This is the bug/patch tracker for Rockbox. Click here for more information.
Quick links: Bugs · Patches · Rockbox frontpage
FS#5668 - variable play speed (tempo) control
Attached to Project:
Rockbox
Opened by Mottel (flyingfoxtrot) - Sunday, 16 July 2006, 07:35 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Sunday, 16 July 2006, 09:56 GMT+2
Opened by Mottel (flyingfoxtrot) - Sunday, 16 July 2006, 07:35 GMT+2
Last edited by Dominik Riebeling (bluebrother) - Sunday, 16 July 2006, 09:56 GMT+2
|
DetailsI use an mp3 player for practicing ballroom dancing. Dancers learning a new routine find it very useful to be able to slow the music down by a variable factor of up to about -20% in fairly fine increments (of say 1% or 2%). Variable play-speed control is quite common on software music-players and on pro sound equipment used in dance studios, but not as common on portable music players. Still, there are some portable players that can do this (e.g. Creative's MuVo Vidz, and Astone's Samba and MicroAv).
Some do it better than others. On some, the pitch changes with the speed, producing a "Mickey Mouse" effect at higher speeds and a "Darth Vader" effect at lower speeds. Others use DSP to compensate for the change in pitch (usually with a process called Formant Correction), enabling the tempo to be varied without affecting the pitch. Is there any chance of getting the ipod Nano to do this? Why particularly the Nano? Because for dancing, jogging and similar sports it is better to use a player with flash memory rather than a micro hard-drive, which is susceptible to shock. Note: some ipods can already do this, but only for audiobooks, not for music. Shouldn't be too hard to get this feature to also work for mp3 music? |
This task depends upon
Closed by Björn Stenberg (zagor)
Reason for closing: Fixed
Additional comments about closing: Closing all feature requests.
Reason for closing: Fixed
Additional comments about closing: Closing all feature requests.
On the nano you can access the wps context menu by long holding the select button, and from that menu you can access the pitch screen. Is changing the tempo that important for you or do you only want changing the pitch? If changing the pitch is sufficient for you I consider this feature request obsolete. Changing the tempo without changing the pitch would require a lot of DSP processing, and that won't be done soon (if ever) -- I guess at least not before 3.1 comes out and actually we're in the freeze for 3.0
I don't see the point why it should be useless to dancers if the pitch changes a bit as when practising the speed of the "beats" itself are important, not the pitch of the notes. But I don't want to argue on that, I just don't see the point.
Otherwise when referring to changing the speed of the music without changing the pitch this is mainly a duplicate of
FS#2231.Compare these two sentences and see if I said what you have reported me as saying:
F: "There is no value at all (to dancers) in a facility that lets you change just the pitch."
D: "I don't see the point why it should be useless to dancers if the pitch changes a bit."
To repeat again: The main point of the request is a facility to change PLAY-SPEED. It is PREFERRABLE (but certainly NOT essential) if this can be done w/o affecting pitch, so as to avoid the Mickey-Mouse and Darth-Varder effects at high/low speeds. I certainly did not say ANYWHERE that if the pitch changed as well this would useless to dancers! I simply pointed out (in the initial post) that some players implement this feature (i.e. variable play-SPEED) better than others.
As for being a duplicate of
FS#2231, I don't see how you figure that. They are actually two diametrically OPPOSITE requests. (Again, please read more carefully!) Bruce (a musician) wants to vary PITCH, PREFERRABLY without affecting tempo. I (a dancer) want to vary TEMPO, PREFERRABLY (but this is NOT critical) without affecting pitch. How on earth you can equate the two is a complete mystery to me.Why are you getting that angry? Are you the perfect guy who always gets everything right on the first try? I think the tone of your comment is pretty much inadequate.
Maybe you should take into account that (a) I'm not a musician nor a dancer, so I'm not that kind of used to that terms as you seem to be and (b) english isn't my mother tongue which may also cause misunderstandings.
I mixed up the terms a bit. But we already have a function called "pitch" which changes tempo (as in speed) and the tone pitch (as in the "mickey mouse" effect). Quoting you:
> I (a dancer) want to vary TEMPO, PREFERRABLY (but this is NOT critical) without affecting pitch.
This is already possible. I already looked you up the keys on how to access that function. Haven't you read the manual and simply tried it? Do you really think only musicians are writing rockbox? Do you really think there aren't mistakes or wrongly used words in rockbox or its manual? When referring to the term "pitch" I (and presumably most developers will do) refer to the way the pitch function works that is already implemented.
Also, quoting from the manual:
> The Pitch Screen allows you to quickly change the pitch of your player. The pitch value can be adjusted between 50% and 200%.
According to your description this is technically incorrect. I'm trying to help with the project, which also implies I can understand things wrongly, which is a reason why I'm writing comments here to make things clear. Requesting features and getting rude when somebody misunderstands you doesn't help at all. But as we now know the manual is incorrect I assume you'll write a patch which corrects this issue.
Please write your requests more carefully, so people don't need to ask you what you really want! You were talking about pitch and tempo in the same sentence in a way that didn't make it completely clear (at least to non-native speakers) what _exactly_ you want to request. As a dancer you should be aware of the fact that the people "outside" of dancing world may not be used to your terms at all. I suggest you reading my last response again. What you quoted from me is only a part, and I wrote a bit more to make that sentence clear. Seems it didn't work or hasn't been read though.
Where on earth did you learn how to argue and talk to people you barely know?
Processing CD-quality sound (16bit stereo sound with 44100Hz sample rate) in real-time or faster is possible starting from processors equivalent to Intel Pentium 133Mhz or better, if using the "quick" processing algorithm. If not using the "quick" mode or if floating point sample data are being used, several times more CPU power is typically required.
So it's not very suitable for a DAP. It surely would be a nice feature!
Anyway, it would be an awesome feature.
It's also a feature that would draw people in to rockbox. I know a few people who switch or plan to switch because of the universal bookmarking and adjustable playback speed; adding pitch correction would be the icing to really sell them on rockbox. (okay mixed metaphors, but you get the point).
The comment about some of the work for tempo shifts already being done by the encoding is interesting, does anyone know if it is useful for tempo adjust during playback? My hunch is that the freq domain info is discarded when the final mp3 or ogg is written out to disk.
One other thought: this would still be a useful feature even if it couldn't be done in real time. Obvious case is for slowing down the tempo, but for the case where the onboard DAP isn't fast enough for greater than real time, perhaps it could process the file, and then save it to disk in a format where the tempo adjust was already done or could be done in a more CPU-efficient manner. For speeded-up playback of podcasts, a background job that does this sort of thing when the DAP is idle (charging, etc) would be useful to me on my H300.
Is there an existing free codec format that allows more efficient tempo-adjusting during playback? Perhaps FLAC could be extended.
I realise this is not likely trivial to implement. But it would be very useful.
http://www.tunequest.org/speeding-up-podcasts-part-3-make-yourself-an-audiobook/20070423/
This results in a 15 hour-week bonus, i.e. 720 hours a year, of free spoken word content I am able to consume using the aforementioned process. I have tested soundtouch, and in my opinion it was effective up to 1.7x, only Windows Media Player MP3/WAV tempo adjustment was good enough for 2.0x spoken word content. When at least 1.5x speed-up is available on Rockbox, I'll definitely switch, everything else I have so far, great job, keep it up.
Have you thought about integrating the Soundtouch library? http://www.surina.net/soundtouch/
Thare are some quirks that need fixing, but it will be committed when it is finished.