-
Notifications
You must be signed in to change notification settings - Fork 11
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
End location of MIDI file #56
Comments
Actually we intentionally drop some MIDI events in order to keep simplicity and stay consistency with other high-level symbolic music processing libraries(
|
Thanks @lzqlzzq for the information. Just to provide some context on a use-case here, I am training models that condition on horizontal note density, e.g. the number of notes onsets that trigger within the timespan of the MIDI file. Not a big problem because I can accomplish this with other libraries, but I love symusic for its speed and thought there may already be a way to get this info. |
I can see your needs here. |
https://file.io/B2y8ejAvkCpt |
Is it possible to get the end of the MIDI file, as opposed to the end location of the last note?
With this image as an example, it's possible for a MIDI file to have empty space after the final note. But the end() function (I believe) just returns the last note location.
For some processing purposes it would be beneficial if I could access this info!
The text was updated successfully, but these errors were encountered: