FS#474 - Pitch adjust,effect on tmr/progress bar?

Attached to Project: Rockbox
Opened by Anonymous Submitter - Friday, 25 October 2002, 12:43 GMT
Last edited by Jonas Häggqvist (rasher) - Saturday, 27 August 2005, 22:54 GMT
Task Type Bugs
Category Music playback
Status Closed
Assigned To Linus Nielsen Feltzing (linusnielsen)
Operating System
Severity Very Low
Priority Low
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No


The pitch adjust feature on the Recorder is great -
running at 50% makes transcribing those tricky solos
much easier, and less fiddly than messing around with
dual-speed tape decks...

However, the elapsed time counter continues to count
in real time when the pitch is adjusted (up or down). The
progress bar also shows this symptom. The elapsed
time and the progress bar should reflect the position in
the file.
This task depends upon

Closed by  Björn Stenberg (zagor)
Saturday, 18 March 2006, 21:25 GMT
Reason for closing:  Out of Date
Comment by Linus Nielsen Feltzing (linusnielsen) - Wednesday, 06 November 2002, 18:44 GMT

That is really difficult to accomplish, since the timer shows how long the song has been playing, and not the actual position in the mpeg stream.
Comment by Anonymous Submitter - Thursday, 07 November 2002, 08:48 GMT

Hmmm... I thought you must know where you were in the file
because of the fast forward/fast reverse functions. Does that
mean the time displayed when using those functions is an

If it's not possible, as an alternative, it would be useful to be
able to identify the start and end points of a section one
wants to play at adjusted pitch and then loop that section.
Comment by Linus Nielsen Feltzing (linusnielsen) - Thursday, 07 November 2002, 12:36 GMT

Yes, it is an estimate. When fast forwarding and rewinding, we calculate
the position in the song, but when playing, the timer runs

We are considering a kind of synchronization
mechanism that can recalculate the time based on how many bytes
have been played, but that will fail miserably on VBR files.
Comment by Jonas Häggqvist (rasher) - Saturday, 27 August 2005, 22:54 GMT

Is this still valid? Does the timer still always run in real
time regardless of pitch setting?