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

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Paul Davis <paul@...>
Cc: <linux-audio-dev@...>, Albert Graef <Dr.Graef@...>
Date: Tuesday, May 29, 2012 - 4:18 pm

On Tue, May 29, 2012 at 09:48:10AM -0400, Paul Davis wrote:

> the question really is under what circumstances should the host/user call

I've always lookat at activate() as part of the sequence
required to load a plugin and make it work, not as something
ever explicitly done by the user. If a plugin needs a 'Reset'
(some do, it depends on the particular effect), it should have
a Reset button.

Since in LV2 activate() and deactivate() do not affect port
connections, I'd say they should not reset any controller
values that the plugin gets from MIDI input. The controller
remains connected, but it doesn't know it should resend its
current value if the plugin would reset it.

AFAICS, Ardour's 'activate' and 'deactivate' (at least for
LADSPA plugins) do not call those functions, they just change
the signal routing. Which looks to me as the right thing.

Another questions if a host bypasses a plugin, should it still
provide input signals to the plugin and run its process() ?

I tend to say yes - it's what you usually get on real mixers
when patching an outboard processor, and it can be useful
in some cases when working 'life', e.g. to set up a dynamics
processor (which requires input) before inserting it.

Ciao,

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] Should LV2 Activate() clear MIDI CC parameters?, Jeremy Salwen, (Fri May 25, 7:22 am)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, Stefano D'Angelo, (Mon May 28, 3:42 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, David Robillard, (Mon May 28, 5:27 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, Albert Graef, (Mon May 28, 11:43 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, David Robillard, (Tue May 29, 2:49 am)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, Fons Adriaensen, (Tue May 29, 9:51 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, David Robillard, (Wed May 30, 1:01 am)
Re: [LAD] , rncbc, (Tue May 29, 2:41 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, David Robillard, (Tue May 29, 10:16 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, Fons Adriaensen, (Tue May 29, 4:18 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, David Robillard, (Tue May 29, 11:25 pm)
Re: [LAD] Should LV2 Activate() clear MIDI CC parameters?, David Robillard, (Wed May 30, 5:24 pm)