infurnus points to what I still want to do and is right on the money. I need to get to add pattern curves. This will be the perfect home for all such things. What we have in there now is not "volume", but velocity, by the way, but even internally the name used to be wrong.
In the meantime I might be able to do what tugbut is suggesting. I'm not sure, but I could give it a try. But it will have to be a while until I get to coding on musagi again. Be patient, please!
That was exactly what I was thinking. It just seems to be the 'MusAGI way' to it like that. ( ;D There's always so many unused track-lanes! ) Perhaps even volume and pan would be controlled like that. The way I was thinking, there would be a 'parameter' instrument, that is connected to a specific controller. It would have a piano-roll like part with numerical values, instead of keys. (There's already two types of parts, so I imagine this wouldn't be too much of a problem. Hm, it should be a 'mono' instrument, though. Thinking further... perhaps there doesn't even need to be an instrument, just a parameter part that you can insert somewhere, and then link to a specific controller. Would be handy if you want to change a parameter only for one tone in your whole song. (F.i. detune or portamento). There's is a complication that you have to prepare for a parameter part/instrument that tries to control the same parameter at the same time as another.
Hmm, having a pattern control a knob would allow you to control volume, panning, filters, etc dynamically throughout a song. That would be nice, though I also want to apply an envelope to the knobs as well, much like the filter envelope on the chip instrument.
As you said, there would be a problem with two instruments controlling one knob, but that could be avoided by only allowing one envelope to control a particular knob (if the knob controller is a instrument.) However, that shouldn't stop one envelope to from controlling multiple knobs. This whole system would help a lot with fade-ins and such.
I think that controlling knobs via patterns, AND envelopes should be implemented.
Eh...sooner or later it will become a modular synth, I'm afraid, hahaha! Would be kinda cool to have a value unit like instrument, which could be plugged into more than one synth. If two value units would hook into the same synth or knob, there could be an operator like add or multiply, but well... anyway. By that time it might have been easier again to just do parameter lanes, hahaha.