So close to Rubberband-ing
-
Progress! I have it compiling and "working" in Ableton, as long as I stick to ASIO and not MME (which means I can't record any clips just yet).
MME / Windows Audio crashes instantly.
-
Okay so (at least) one of the issues is that RB can't process in-place or on an alias, it needs a separate input and output vector.
dyn<float> outPtrs; template <typename T> void process(T& data) { if (!rb) return; // safety check in case the rb object isn't constructed yet auto ptrs = data.getRawDataPointers(); // RB needs pointers outPtrs.referTo(data, data.size()); // dyn confuses me rb->shift(ptrs, &&outPtrs); // ??? data = outPtrs; }
@Christoph-Hart do you have any suggestions for creating a blank vector the same size as the one from
getRawDataPointers()
for RB? I assume memcpy() isn't ideal in the audio thread -
(laughs in thall)
Writeup soon
-
@iamlamprey Amazing work, it sounds pretty great! Excited to test the results myself
-
@iamlamprey Oh so close :) very exciting. Is it the sort of thing where it's easy to swap out one algorithm for another? I'm thinking of trying the Bungee library.
-
@d-healey The actual DSP in the third-party node is pretty simple, the main stuff was getting all of the includes to work together (and using the right class in RB that doesn't need 2 separate buffers)
The RB time-stretching stuff might also be possible using this third-party node and just swapping a few things out, I don't want to give out false hope just yet but
-
@iamlamprey Nice work!
-
@iamlamprey Holy Duck you got it!!!!
-
@iamlamprey RB is not compatible with commercial projects, right? It is licensed as GPL
-
@resonant said in So close to Rubberband-ing:
RB is not compatible with commercial projects, right? It is licensed as GPL
You can sell GPL software. What you can't do is use it in proprietary software (commercial or not).
You can buy a license to use RubberBand in proprietary projects though - https://breakfastquay.com/technology/license.html
-
Yeah the Rubberband license is pretty...
...flexible.