-
Notifications
You must be signed in to change notification settings - Fork 153
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
get_piano_roll does not take the MIDI sustain CC into account #130
Comments
maezawa-akira
added a commit
to maezawa-akira/pretty-midi
that referenced
this issue
Apr 10, 2018
maezawa-akira
added a commit
to maezawa-akira/pretty-midi
that referenced
this issue
Apr 14, 2018
…th a simpler algorithm
maezawa-akira
added a commit
to maezawa-akira/pretty-midi
that referenced
this issue
Apr 17, 2018
maezawa-akira
added a commit
to maezawa-akira/pretty-midi
that referenced
this issue
Apr 17, 2018
craffel
pushed a commit
that referenced
this issue
Apr 24, 2018
* Added support for elongating note when encountering CC64 * - Add unit-tests * - Add pedal for chroma and piano roll (#130) * revised #130 - documented the code and replaced pedal logic with a simpler algorithm * Revise #130 - unify use of pedals to single parameter pedal_threshold * Fix unit-tests for #130 * Fix pep8 formatting issues * Set the default pedal value to 64 * Modified tests to match the current specifications * Use >= pedal_threshold as a condition for detecting pedal-on
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
MIDI CC 64 is the "sustain pedal" control channel. If it's on, notes should be held until it's turned off. get_piano_roll doesn't take this into account.
The text was updated successfully, but these errors were encountered: