Yup, I've moved the declaration out of the processor already, it was really horribleMayae wrote:Yes, don't bother with that stuff (especially during the prototyping stage). Just to clarify something I forgot: The vector should of course be a member of your processor class, not a local variable
Alright, I think I get it, but I still need to read more to understand everything perfectly Thank you.Chris-S wrote:FIR interpolation filters have to be very steep, so they are using typically 64 or more taps (using the recent and the 63 previous samples). This gives some delay.
---
I'll add a C++ question.
I am using Vinnie's DSPFilter library to do the filtering.
Code: Select all
f1->process(buffer.getNumSamples(), buffer.getArrayOfWritePointers());
f1->process(buffer.getNumSamples(), oversampleArray);
How can I solve that ?
I've tried many things, especially by replacing the JUCE Array by a vector<float> and using &myvector[0], but it's not working - I guess my understanding of the pointers is not perfect
Thanks a lot by advance,
A.