Robin Schmidt
Robin Schmidt
ok - i figured it out! when you set up a delayline length greater than currently allocated memory, i re-allocate - and i forgot to initialize with zeros after such...
> that's super embarrassing. yeah, i know. that code is super old
> i forgot to initialize with zeros after such re-allocation. actually, i should probably copy the contents of the old delayline...hmm...but i actually assume that such re-allocations are not events...
> or use a std::vector and just resize it - which takes care of all that or wait - does it? i'm actually not quite sure. i think, i've seen...
you need to explicitly instantiate each rapt-template for all datatypes that you want to use. look at rosic_TemplateInstantiations.cpp there, i'm doing it myself - from the perspective of rapt, rosic...
i know, i know - it's a mess. but that's the price for writing the code in terms of templates. i think, the type independency is worth it, though. ...not...
romos.obj? that's my modular system aka liberty, or well, the modular synth code framework, liberty is based on. do you even use that in your reaper plugin? if not, throw...
hmm - this: template float RAPT::rsArray::rootMeanSquare(const float *, int); looks actually good. however, i have just added an "inline" to the function - maybe try again with the inline (you...
ah - i think, is see what's wrong. the rootMeanSquare function calls the meanSquare function, so you need an instantiation of *that* inner function as well. i just added template...
if you have your own fork, you can put it there right next to the double instantiation. however, in the long run, i would recommend to just create your own...