View Single Post
Old 12-29-2018, 10:02 AM   #3
Nonlinear
Human being with feelings
 
Join Date: Apr 2018
Posts: 396
Default

Quote:
Originally Posted by Xenakios View Post
Ideally your plugin should not need to know anything about the offline/realtime state of the host. (There are exceptions to that but a simple effect or synthesis based instrument shouldn't usually care about that.)

Like JUCE's AudioProcessor has the prepareToPlay method, IPlugBase has the Reset method you should override to be called from the host before the audio processing calls start happening.
Thank you for the reply. What I'm trying to understand is how you determine a starting point for something like a delay line or FIR filter. You can't simply initialize the whole array to zeros and expect it to work the instant it receives sound. It needs some "lead in/settling time".

How do you address that type of thing using static initialization values?
Nonlinear is offline   Reply With Quote