+trigger, Re: [linux-audio-dev] ladspa.h.diff

Tim Goetze tim at quitte.de
Sat Mar 6 01:52:43 UTC 2004


[Jesse Chappell]

>Dave Robillard wrote on Fri, 05-Mar-2004:
>
> > On Fri, 2004-03-05 at 13:10, Steve Harris wrote:
> > > On Fri, Mar 05, 2004 at 05:54:52PM +0100, Tim Goetze wrote:
> > > > [Taybin Rutkin]
> > > >
> > > > >TRIGGER, or MOMENTARY in my patch
> > > > >(http://www.mail-archive.com/linux-audio-dev@music.columbia.edu/msg11074.html),
> > > > >should really be 804, because it implies TOGGLED.
> > > >
> > > > yes, i thought about this, but came to the conclusion that
> > > > variable-amplitude triggers are useful to have.
> > >
> > > Momentary controls are boolean by definition.
> >
> > Variable-amplitude triggers would be really cool though.  You could,
> > say, make a synthed snare generator plugin that is velocity-sensitive.
> >
> > Actually, something like that would be out of the LADSPA domain I
> > suppose.  An idea anyway.
>
>You just use a regular control port to specify
>your threshold/amplitude.  The trigger port just does the "triggering".

the proposed patch fits this model well: a plugin need only specify
TOGGLED in addition to TRIGGER.

at the same time, connecting a 'velocity'-enhanced trigger source to a
port defining TRIGGER without TOGGLED is possible with the minimum
need of transmission logic (conditionals, ports) in the host as well
as in the plugin.

amicalement,

tim



More information about the Linux-audio-dev mailing list