-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
General linear-combination control inputs #59
Comments
I have this approach working in branch All the calculations are linear sums ( To make the behavior sort-of contiguous with how things were before, I also had to introduce some specific defaults:
|
This was resolved by #93 |
Currently, the way that note, envelope, and lfo inputs affect pitch, envelope, and filter cutoff etc. is fairly complex and irregular.
In the spirit of the voltage-summing nodes of analog synths, I want to introduce a fully orthogonal structure, where each voice parameter is calculated as the sum of the same set of control inputs via a matrix of scale coefficients.
For example, instead of
filter_freq=1000
setting the cutoff to a fixed value, followed bybp0_target=FILTER_FREQ
and setting up thebp0
envelope to get a sweep, you would do something like:where the vector of coefficients now indicate the weights for a fixed set of control inputs that are summed together.
The first coefficient is always taken as-is, providing a constant starting point, but the remainder are applied to inputs whose values vary, defined in some fixed order. In the example above, the second value applies to
bp0
, but we would also include note value (pitch), note velocity, lfo, etc.Voice parameters include oscillator frequency, output level, filter frequency, PWM duty, and stereo pan.
The text was updated successfully, but these errors were encountered: