[LV2] Modulation matrix in LV2 synth plugin
David Robillard
d at drobilla.net
Sun Apr 1 08:41:33 PDT 2012
On Sun, 2012-04-01 at 18:28 +0300, Timo Westkämper wrote:
> Hi.
>
> Yes, fixed dimensions. I just wonder if it is feasible to just expose
> the modulation matrix directly via control ports, or use some kind of
> encoding.
>
> I expect a matrix of maybe 20 * 20 = 400 which seems awfully big.
>
> Alternatively maybe a fixed amount of modulations and an encoding of
> the modulation parts in the float values : from, to and amount.
You could either keep the matrix internal and access it via messages, or
just stick a matrix in a port. Assuming you need to multiply by most
everything every time, messages means copying the matrix every time,
which is probably not so great.
The atom extension has an AtomPort which can hold anything. There is a
vector type, but no matrix. I guess we need a matrix type...
-dr
More information about the Devel
mailing list