Skip to content

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