This is a somehow naive question. I’d like to know whether or not JUCE does provide something like csound’s “control rate” which runs slower than sampling rate and whose rate one can set at his will.(see http://www.csounds.com/manual/html/kr.html). And one can interchange sampling rate signal & control rate signal. (see http://www.csounds.com/manual/html/downsamp.html). thanks
The audio processing callbacks (processBlock for AudioProcessor etc) already happen at a lower rate than the sample rate, so that is kind of similar to the control rate concept in Csound. It is not guaranteed what the rate of those callbacks is, though. (It will depend on the audio device buffer size, what host you are running in as a plugin and so on.)
However, it should usually be pretty trivial to implement a constant size control rate handling in your own code. (Basically a counter that is increased at every sample until you hit the control block size, then do whatever filter coefficient changes etc you need and then reset the counter.)
Thanks for reply.
I’ll try your suggestion.