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

Update MidiMessageSequence::updateMatchedPairs to deal with note-on messages with velocity 0 #1468

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

FangCunWuChang
Copy link
Contributor

In the current JUCE, both the juce::MidiMessage::isNoteOn and juce::MidiMessage::isNoteOff methods allow users to decide how to regard notes with velocity 0. Here, I have also added this option to the juce::MidiMessageSequence::updateMatchedPairs method.

When regardNoteOnEventsWithVel0AsNoteOff is set to true (the default), it will maintain the original behavior of regarding note-on events with velocity 0 as note-off events.

@FangCunWuChang FangCunWuChang deleted the fixed-5 branch November 7, 2024 16:49
@FangCunWuChang FangCunWuChang restored the fixed-5 branch November 7, 2024 16:49
@FangCunWuChang FangCunWuChang reopened this Nov 7, 2024
@FangCunWuChang
Copy link
Contributor Author

Sorry, deleted remote branch by mistake.

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