Skip to content
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

Fix CC modulations, having their source depth to 0 #475

Merged
merged 2 commits into from
Oct 6, 2020

Conversation

jpcima
Copy link
Collaborator

@jpcima jpcima commented Oct 6, 2020

This fixes CC modulations, after a previous commit which has set default source depth to 0.
Previously, the CC value was part of the modulation key. Then the overall depth of the CC source is key.value*sourceDepth.
This neutralizes all effects of most CC in the matrix.

As discussed previously, I remove CC value from the ModKey, and replace it by source depth alone.

Note: the source depth is not printed in the dot graph, so this value is no longer checked in unit tests after the change.

@jpcima jpcima marked this pull request as draft October 6, 2020 02:04
@jpcima jpcima marked this pull request as ready for review October 6, 2020 02:28
@jpcima jpcima merged commit 2351f18 into sfztools:develop Oct 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant