You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
There seems to be an issue with the 'onset_sec' values between two different parts within a midi performance file when it is loaded with Partitura.
In the linked midi file below (github does not allow midi files to be uploaded when reporting an issue), the right hand and left hand piano parts are present in two separate part components when loaded using the 'load_performance_midi()'. However, when combining the two parts using either 'partitura.utils.ensure_notearray()' or by converting each part's notearray to a pandas dataframe and then combining them, there seems to be an offset in the onset_sec value of the second part (the left hand part). This is confirmed by also computing and looking at the piano roll.
For example, the first note of the left hand needs to occur at the onset_sec value of 1.6666 seconds , but occurs instead at 2.5 seconds.
Link to midi file: https://drive.google.com/file/d/1BwlnYQ0olTmuw2SiXSI64AHaV7O07GDs/view?usp=sharing
When the same midi file is loaded directly into a DAW however, there is no issue, and the left hand part plays correctly in sync with the right hand part.
Hope the information helps!
The text was updated successfully, but these errors were encountered:
Hello!
There seems to be an issue with the 'onset_sec' values between two different parts within a midi performance file when it is loaded with Partitura.
In the linked midi file below (github does not allow midi files to be uploaded when reporting an issue), the right hand and left hand piano parts are present in two separate part components when loaded using the 'load_performance_midi()'. However, when combining the two parts using either 'partitura.utils.ensure_notearray()' or by converting each part's notearray to a pandas dataframe and then combining them, there seems to be an offset in the onset_sec value of the second part (the left hand part). This is confirmed by also computing and looking at the piano roll.
For example, the first note of the left hand needs to occur at the onset_sec value of 1.6666 seconds , but occurs instead at 2.5 seconds.
Link to midi file: https://drive.google.com/file/d/1BwlnYQ0olTmuw2SiXSI64AHaV7O07GDs/view?usp=sharing
When the same midi file is loaded directly into a DAW however, there is no issue, and the left hand part plays correctly in sync with the right hand part.
Hope the information helps!
The text was updated successfully, but these errors were encountered: