[LV2] Audio port
Hanspeter Portner
ventosus at airpost.net
Wed Mar 8 01:52:38 PST 2017
On 08.03.2017 10:00, Pavanashree K (RBEI/ECF3) wrote:
> Is it possible for,same audio port can also be used for e.g. a stereo
> buffer?
>
> For example using an interleaved buffer where each sample consists of
> two float values (one for left and one for right channel).
>
> Is there any LV2_Feature existing to describe such a buffer layout?
>
> http://lv2plug.in/ns/lv2core/#AudioPortonly supports one float per sample.
No, just use two separate ports!
> Nearly the same question for a control port:
>
> Does there a feature exist which can handle more than one float value
> per block (run call)?
>
> http://lv2plug.in/ns/lv2core/#ControlPortonly supports one float per
> control.
No, but if you need sample accurate controls, you can use parameters and
get/set them via patch messages [2].
[2] http://lv2plug.in/git/cgit.cgi/lv2.git/tree/plugins/eg-params.lv2
More information about the Devel
mailing list