Is there a way to know the current samplerate when a module is created (before the first process() call)?
When the samplerate is changed do the modules recieve any “signal/callback” ? Or the only way to know that it has changed is during process() ?
Motivation: I would like to write some general routines/objects that are initialized with the samplerate, and then assume it constant during the normal processing (i.e. like most real hardware modules do).
Thanks in advance!