[Devel] OutputPort being ControlPort

David Robillard d at drobilla.net
Sun Aug 21 09:04:39 PDT 2011


On Sun, 2011-08-21 at 11:19 +0100, Aurélien Leblond wrote:
> >On Mon, 2011-08-01 at 19:49 -0500, Gabriel Beddingfield wrote:
[...]
> All right, so for the time being I could keep using AudioPort. That
> means that only these ports of AMS to LV2 would only be compatible
> with each other?
> Once a solution would be found to that problem I would "just" have to
> change from AudioPort to CVPort?
> Would that be the way to go? (I just want to take advantage of my
> current motivation to write these plugins to actually....do it!)

I would suggest this, yes.  You certainly don't want to go to
ControlPort, since using CV and being able to do modular synth things at
audio rate is a big part of the point of these plugins.

I think CVPort would be identical to AudioPort in terms of code, but
have the control related properties of ControlPort (minimum, maximum,
default, units, etc).  Ingen already has pretty much everything to
support this anyway, actually.  Unless anyone can see a reason why this
simple approach to CV would not be sufficient, I will bang out a quick
extension for it...

I don't really see a way we can be backwards compatible with hosts that
do not support CVPort.  The ports could *also* still have type
AudioPort, but since they would be pretty much useless in hosts that
don't know to treat them as controls, I don't really see the point.

-dr

P.S. Thanks for the effort!  More good fundamental modular synthesis
plugins are definitely needed for Ingen




More information about the Devel mailing list