-
Notifications
You must be signed in to change notification settings - Fork 45
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
Added an internal OR switch to every drawstop #2012
Added an internal OR switch to every drawstop #2012
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The action build show that this PR causes at least switch drawstops to not function correctly. When the drawstop gets active no sound is produced, but when it's deactivated again sound output happens even though the drawstop is off! When the drawstop is visibly active no sound is emitted. In other words after first activation/de-activation they are reversed!
A few of the affected sample sets are Bureå Church, Bygdsiljum Church and Norrfjärden Church.
Older sample sets that directly use/display the stop seems to function normally though.
On a side note, I have no problem with introducing this feature to fix the original issue with the crescendo - that is, when everything actually is working! However, I'm not convinced that exposing this internal OR in any way (ODF) is a good idea - which I understood from another discussion that you eventually intend to do.
3f1c69b
to
84cf264
Compare
@larspalo I fixed the behavior of AND switches. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems to be working now.
@rousseldenis could you approve this PR? |
This is the second PR related to #1935
It adds an internal
OR
switch to every drawstop. The switch has several named entries. The default entry has an wxEmptyString name.When any of drawstop switches named entry is activated, the drawstop is also activated. When all of the entries are deactivated the drawstop is also deactivated.
Now this capability is not used and it will be used in a future PR for the Add mode of Crescendo.
So no GO behavior should be used now.