I've had a proper look at EnvelopeUI, and as I suspected, the graph is handled
entirely within the freemode code.
It is dipping in the main code to fetch and set points. There is a maximum of 40
of these, with two parameters, X=time from previous point, Y=amplitude.
When running, the number of points that have been set are simply scanned and
interpolated to get the actual envelope. As far as the synth is concerned there
isn't a graph!
It would seem this can be readily handled entirely using the normal
collectRead/Write commands.
--
Will J Godfrey {apparently now an 'elderly'}
_______________________________________________
Yoshimi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/yoshimi-devel