1

While building a mobile app that plays music for fitness classes, I was asked to add a feature that allows the user to speed up the tempo of the music 0-4% to compensate for some gym stereo systems that play music slower. I'm puzzled because I imagine that for this to occur, the stereo system would need to buffer more and more data over time in order to consistently deliver it at a slower speed. I'm wondering if this is actually a human perception problem, or if there's something else going on that I don't understand. Any ideas?

4
  • It's somewhat common for CD players used for gym classes to provide a speed control. I'd be very surprised to find a system that takes an analogue input and plays this back slower than the original signal. – Hobbes Oct 31 '19 at 14:37
  • They don't exist. – Mark Nov 30 '19 at 5:15
  • Could this be playing back at the wrong sample rate? There are two in common use: 48000 and 44100 samples per second. That is a bit more, about 8%. – ghellquist Apr 8 '20 at 9:41
  • I think what I need to do is record music playback on a "normal" stereo, then record while playing back on one of these alleged slower stereo systems, then see if I can sync up the recordings. I'm expecting that I will be able to and that this is entirely psychological. – Hilton Campbell Apr 9 '20 at 15:51
1

Your assumption around buffering is incorrect. Any application that plays music out faster or slower will simply change the read-rate of the data to suit the play-out speed. The buffer size will not change. The only thing that will change is the rate at which the buffer is filled up again after being emptied.

Note that this is only possible when reading data off a disk or memory stick or via a remote streaming service where you 'pull' data as required. It will not work with radio/DAB+ etc because the data is being pushed and - like you say - the system would need to continuously buffer more data and would eventually run out of space. Needless to say, this does not and cannot happen. HTH.

0

There were (possibly still are) stereos that allowed the user to control the speed of playback from digital media as a function directed at karaoke users. These systems often also allowed pitch control independent from the speed.

As Mark says in his answer, the DAC (digital to analogue converter) in some stereos can run at slower or faster clock speeds due to any number of electronic differences - this means that it's reading the digital data slower or faster and therefore converting it to audio slower or faster, regardless of any buffer constraints.

In your case, however, I'm assuming that you're going to be plugging the audio out of the phone (or whatever device the app runs on) into and audio in on the stereo. This means you'll just be passing an audio signal directly to the amplifier so the playback speed of the stereo/hi-fi isn't going to be of any consequence to you.

From an app design standpoint though, you might want to treat this as user feedback and ask some other users if the facility to change playback speed might be useful in the setting of a fitness class.

-1

Some software can upgrade the tempo without altering the pitch (increasing the tempo and the pitch is easier). Typically Reaper (with the Elastique technology), but I guess it is not the only software.

With such a software, you set the tempo coefficient, render it in a WAV or MP3 file and that’s it.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.