r/AudioProgramming • • 4d ago

Timestretch algorithm that reduce pre-echo/smearing

Hi,

Ive been working on a timestretch method that doesn't smear transients at bigger stretches.

Comparing it to other methods I think its not so bad. It adds a bit of rumble in the low-end, but to me that is less disturbing than the common flanging or smearing in other methods.

Its more heavy than a regular phasevocoder but some experimenting shows it can be optimised further.

This video shows its possible to use in a DAW environment.

https://youtu.be/CuxLyap99Ag?si=dQLe_l07BiyCRK1O

Im curious to what you think is the best timestretcher for >2x stretches, that preserves the musical timing.

2 Upvotes

2 comments sorted by

1

u/mazbox 3d ago

Yeah sounds good. How does it work?

1

u/Critical_Credit5843 2d ago

Its a variation on non-stationary gabor transform that allow parallell channels from low to high frequencies with individual transient handling.

Also separation of harmonic and percussive signal with different schemes of phase locking and how much of original 1:1 signal to preserve/copy. In the video its set to 10ms on every transient.

TBH its 99% the transient/onset handling, that makes it sound good. I use superflux with very low threshold which works very well with multimixes, not just separated drums. Even having false detected transients doesnt really hurt, but a missed one on a kick or snare will make it soft.