[LAD] Should LV2 Activate() clear MIDI CC parameters?

David Robillard d at drobilla.net
Wed May 30 17:24:23 UTC 2012


On Wed, 2012-05-30 at 10:20 +0200, Albert Graef wrote:
> On 05/29/2012 07:57 PM, David Robillard wrote:
> > tl;dr: The state that needs to be reset is state that depends on a
> > continuous stream of audio.  Midi controllers and such do not cause
> > problems if they persist across audio gaps, and are not what was being
> > referred to here.
> 
> Exactly. In the case of an instrument plugin, that might mean, e.g.,
> that the allocated voices and the pitch bends are reset, but usually not
> the controllers. Incidentally, that's exactly how I implemented those
> callbacks in faust-lv2, and it works nicely with Qtractor at least.

Right.  I think time is the key to explaining this
clearly/precisely/generically.

What's happening is that time is no longer continuous.  Reset
accordingly.

-dr




More information about the Linux-audio-dev mailing list