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

Let Ring playback #25864

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

RomanPudashkin
Copy link
Contributor

@RomanPudashkin RomanPudashkin commented Dec 17, 2024

Resolves: #20993 (including MS Basic & VST)

@RomanPudashkin RomanPudashkin marked this pull request as draft December 18, 2024 11:31
@RomanPudashkin RomanPudashkin force-pushed the muse_sounds_let_ring_playback branch from c93a6aa to 2b50f32 Compare December 18, 2024 12:20
@DmitryArefiev DmitryArefiev self-assigned this Dec 18, 2024
@RomanPudashkin RomanPudashkin changed the title Muse Sounds: Let Ring playback Let Ring playback Dec 19, 2024
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)) {
Copy link
Contributor

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?

Copy link
Contributor Author

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)

@DmitryArefiev
Copy link
Contributor

Tested #20993 on Win10 - FIXED for VST and MS Basic

Still occurs with MuseSounds (it will be fixed later)

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.

Let Ring with Muse Sounds does not work at all
5 participants