On Fri, May 24, 2002 at 06:55:51 +0200, Dr. Matthias Nagorni wrote: > On Fri, 24 May 2002, Steve Harris wrote: > > > The right choice imho. More to the point, you can coonect control or audio > > output to audio inputs, so you can do what you'de like with an audio rate > > resonace/cutoff input. > I'm currently implementing the filters with audio ports for both frequency > and resonance. An audio port for dBgain might be useful for the peaking EQ > as well. There will be additional control ports for frequency offset, > resonance offset and a frequency pitch factor [-2..2]. > In a modular synth not every port has to be connected to a CV. So > I plan to allow that frequency and resonance audio ports may be > left unconnected. In this case they should be initialized with a NULL > pointer. The run method then checks for NULL pointers and executes > different loops.
I think this is a bad precident. Other ladspa plugins will segfault if you try this. Its an interesting problem though. I would suggest maybe NaN if its not connected. - Steve
