On Fri, Jun 15, 2007 at 11:30:22AM +0200, Tim Goetze wrote:
[Fons Adriaensen]
The simple solution is not to use any control
param values in activate(),
but some defaults that are within range. Then in the first process()
you sweep from these to the ones derived from the actual control params
which must be valid at that time.
But, but ... the sweep during the first block of audio is precisely
what I'm trying to avoid!
Since LADSPA does not specifiy that control values are valid at
activate(), either
1. the first sweep has to start from defaults,
2. or it has to be replaced by a jump to the current control values.
For 2. keep a boolean indicating that the current control values
are valid and can be used as the starting point for interpolation.
Reset in activate(), set in each process().
--
FA
Follie! Follie! Delirio vano รจ questo !