-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Let Ring playback #25864
base: master
Are you sure you want to change the base?
Let Ring playback #25864
Conversation
c93a6aa
to
2b50f32
Compare
bb56ceb
to
78eabbc
Compare
appendControlSwitch(destination, noteEvent, PEDAL_CC_SUPPORTED_TYPES, midi::SUSTAIN_PEDAL_CONTROLLER); | ||
appendPitchBend(destination, noteEvent, BEND_SUPPORTED_TYPES, channelIdx); | ||
for (const auto& pair : noteEvent.expressionCtx().articulations) { | ||
if (muse::contains(PEDAL_CC_SUPPORTED_TYPES, pair.first)) { |
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.
Apologies if it's a silly question, but is it possible for this conditional to execute more than once throughout the loop? If so, is it OK to call appendControlSwitch
more than once for a given noteEvent
?
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.
It should be ok to call appendControlSwitch more than once. In practice, that won't happen simply because we only use it for the pedal right now (and each noteEvent will have only 1 pedal articulation)
Tested #20993 on Win10 - FIXED for VST and MS Basic Still occurs with MuseSounds (it will be fixed later) |
Resolves: #20993 (including MS Basic & VST)