Hello fellow Jucers!
i am very new to all this…
i manged to build my first VST with Juce
(something like a 4 way crossover - with HighPass and LowPass filters setting the limits for each band-)
I have used the tick method of biquad so i guess i am using a sample by sample approach (correct?) and i end up with 98% CPU when the .dll is loaded in cubase
this is from my processBlock:
// FADER GAIN * LPF LPF HPF HPF INPUT
1L = (filterL4->dbGain)*(filterL4->tick(filterL2->tick(filterL3->tick((filterL1->tick(leftChannel[i];
i believe that the main reason for increased CPU in cubase is the tick
any ideas how to get through that?
I thought of using the IIR filter of juce to implement the HPF and LPF and deal with this problem
and get the results in buffers but since i am very new to all that i have no clue how to do it…
any help, ideas, or examples would be extremely appreciated!!!