[LV2] Thoughts of a lazy developer: Audio vs CV

David Robillard d at drobilla.net
Sat Jun 29 11:54:51 PDT 2013

On Wed, 2013-06-26 at 21:41 +0100, Aurélien Leblond wrote:
> While playing with the avw.lv2 plugins, I noticed something annoying:
> - I have a VCO that outputs audio, but now need the exact same one that
> outputs CV
> - same with a VCA that inputs/outputs audio, but realise that I need the
> same plugin but with CV
> Now it's not much of a problem, I copy/paste the code, create a new plugin
> and change the ttl but this makes me wonder:
> - should I be changing something more? In the case of the VCA, the code is
> exactly the same, only the ttl is slightly different (change of
> input/output port type). Is there something I'm forgetting?
> - if not, is there a better way to do this instead of simply duplicating
> the code?
> - finally, should there really be 2 plugins if the way they work is the
> same, they are doing exactly the same thing, just the port type is
> different?

Since CV and audio are exactly the same in the binary sense, this really
seems like something you should never have to do.  Sounds like lacking
host support?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.lv2plug.in/pipermail/devel-lv2plug.in/attachments/20130629/681b7901/attachment-0002.pgp>

More information about the Devel mailing list