Better real-time stretching

Rubberband is really subpar and downright unusable on a lot of sources. For a sample-centric DAW there is no excuse to not having real-time stretching. There are a lot of both free and proprietary options available for an audio stretching library/engine.

3 Likes

What kind of function is that?

Well, most bigger DAWs use proprietary algorithms here which require licensing / costs. How should a small team project like Renoise handle this?

I guess if you would come up with a better, open-source algorithm, Renoise team will actually consider to implement it. Are there such open-source time-stretching algorithms?

1 Like

I realize this isn’t exactly a native solution but have you tried using Amigo Sampler? It has a pretty nice sounding Akai style time-stretch that can be modulated in real time.

what are the options? Isn’t the best “free” (low cost) option rubberband which is already implemented? Perhaps there could be different, extra technical settings for it to get a better outcome for certain source material?

Afaics one of the best is zplane Licensing - Licensing , which looks like industry standard seeing the partners that use their stuff zplane Licensing - Company / About us (including ableton). Not sure about the pricing though, I wouldn’t mind paying extra for it if this means more flexible audio mangling at a higher sound quality.

5 Likes

A nice MIT licensed library is this one GitHub - Signalsmith-Audio/signalsmith-stretch: C++ polyphonic pitch/time library (GitHub mirror)

This could work well even via tools (with platform binaries and lua bindings to that), now that the canvas api allows for implementing an alternative waveform editor.

5 Likes

This is something I think is worth looking into

1 Like

Sounds like a promising avenue to explore… If you’ve got the time and inclination, I’d say:

palpatine-star-wars

Are there any audio example of this library in action out there?

How well does it stack against Rubberband?

Yes, there is an example on their site

I think it works quite well and has meaningful parameters for the musical context.

I have other things that have priority so I don’t think I’ll work on this soon, but it would be great if someone went for it.

1 Like

Wow that sounds pretty decent to me. Definitely impressive sound morphing capabilities.

I hope someone who knows how to code takes it on as a project!

@esaruoho :wink:

3 Likes

Would be great as a stand alone tool, imo

You can do this in any DAW’s demo, really. Just bounce the temp file and catch it; free Zplane algos at your disposal. I doubt anyone’s makeshift version is nearly as good as, say, the stock ones in Bitwig, but you never know :smiley:

You also get access to a whole FX suite this way, though, too. Then you can just pump it back into Renoise

1 Like

I’m aware. I was just mentioning how I do it (although thankfully I was able to afford Bitwig this year)

1 Like

That wasn’t the point of that post, if you had read the whole thing; I was saying that I was able to save up for Renosie while reading the manual, and even saving my tracks as I went along, which was a big plus for Renoise. I also got Bitwig on sale, so it wasn’t nearly as much. Why are you so concerned with my finances, buddy?

1 Like

Reading the whole post and not just snippets does wonders.

1 Like

See “Beatsync” and “Mode”: Sampler - Renoise User Manual

Is this unrelated to the request in this thread?

These adjustments are per individual sound sample. Without modifying the sample, it’s possible to stretch or shorten it.

A different matter entirely would be transforming the sample (adding or removing digital information from it). That wouldn’t be “real-time” stretching, but rather transforming the sample.

Adding or removing information from the sample is “relatively easy” to program with a lua tool, using iteration and interpolation between points. It’s even possible to “restore” peaks broken by excessively high volume.

These procedures involve destroying and reconstructing the sample. Therefore, they are not “real-time,” but for short samples (a few seconds), the results are instantaneous (lasting only a few milliseconds).

Signalsmith sounds very good.

Renoise devs. That’s why i created this thread

2 Likes