View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0000942||OpenMPT||[All Projects] Feature Request||public||2017-04-10 16:46||2017-04-12 17:27|
|Product Version||OpenMPT 1.26.09.00 / libopenmpt 0.2-beta22 (upgrade first)|
|Target Version||Fixed in Version|
|Summary||0000942: MPTM Command to change sample tempo during playback|
I use a lot of acoustic samples (esp of guitar strums) in my productions, but sometimes i want to be able to alter the tempo of the SAMPLE (as opposed to the track tempo). I don't know if this can be done on the fly, but this would be a big step in trackers if we could have a channel command which alters the sample tempo (and/or speed/pitch) when needed. It would save me from having to go back into the studio and record another sample with the desired tempo change.
Is it possible?
|Tags||No tags attached.|
|Has the bug occurred in previous versions?|
|Tested code revision (in case you know it)|
As you should be aware, there is already a time stretcher available in the sample editor which essentially does what you want, but not in realtime. However,
Yes, I'm having to use the TimeStretcher a lot, but when I need the same sample at different tempos, using multiple copies of basically the same sample (some longer than others) increases the file size, sometimes by a lot.
I understood the quality would be questionable, but if real-time time-stretching can be done at once (apart from the player), I've asked myself how difficult it would be to apply on demand. The player i think would have to store a temporary copy of the sample (the part after the command call), reconfigure it, then apply it at the right time.
The thing is that a perfect time stretcher is never going to exist - laws of physics prohibit that. There can only be really good approximations (Rubberband being one of them, as far as I'm aware), but the only serious, license-compatible library I am aware of that does time stretching is the one we use, and it doesn't sound particularly great to my ears.