Re: [LAD] LV2 CV Port extension (WAS: AMS to Ingen: VC to PCM)

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Stefano D'Angelo <zanga.mail@...>
Cc: <linux-audio-dev@...>
Date: Monday, September 26, 2011 - 8:37 pm

On Mon, 2011-09-26 at 09:27 -0400, David Robillard wrote:

[...]

Actually, on second thought, while I dislike making anything at all
complex for this ostensibly simple functionality, I think if a feature
is going to be involved anyway it might be best to allow the host to
explicitly specify which type each port is connected to. Since this is
intended for modular hosts, the host would typically inform the plugin
which based on what the port is connected to.

The feature would basically allow the plugin to expose an additional
function which the host could call to inform the plugin if the CV port
is connected to control or audio data.

The cost is complexity in the plugin, namely a CV supporting plugin
would have to keep a type flag around for all CV ports to know which it
is connected to (a simple macro or inline function can make the actual
reading simple). This incurs a minor branch cost (one per CV port per
cycle).

Thoughts?

-dr

_______________________________________________
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] AMS to Ingen: VC to PCM, Aurélien Leblond, (Sun Sep 25, 8:52 am)
[LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Sun Sep 25, 1:28 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 9:01 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Mon Sep 26, 1:37 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Loki Davison, (Mon Sep 26, 2:15 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Thorsten Wilms, (Mon Sep 26, 2:11 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Sun Sep 25, 2:39 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Aurélien Leblond, (Sun Sep 25, 3:07 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 9:09 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Thorsten Wilms, (Sun Sep 25, 3:18 pm)
[LAD] LV2 CV Port extension (WAS: AMS to Ingen: VC to PCM), David Robillard, (Sun Sep 25, 9:50 pm)
Re: [LAD] LV2 CV Port extension (WAS: AMS to Ingen: VC to PCM), Stefano D'Angelo, (Mon Sep 26, 10:22 am)
Re: [LAD] LV2 CV Port extension (WAS: AMS to Ingen: VC to PCM), David Robillard, (Mon Sep 26, 8:37 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 9:11 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Sun Sep 25, 10:02 pm)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Sun Sep 25, 10:20 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Mon Sep 26, 9:08 am)
Re: [LAD] AMS to Ingen: VC to PCM, David Robillard, (Mon Sep 26, 1:13 pm)
Re: [LAD] AMS to Ingen: VC to PCM, Fons Adriaensen, (Sun Sep 25, 10:10 am)
Re: [LAD] AMS to Ingen: VC to PCM, Gabriel Beddingfield, (Sun Sep 25, 1:53 pm)