miditoolkit
miditoolkit copied to clipboard
A Question
can this tool be used to obtain the midi sequence and midi duration sequence ? or are these 2 things out of scope for this project?
Thanks in advance !
Hello, By midi sequence, are you referring to the original MIDI messages as they are written within a file? If that is the case, this lib isn't meant for this use-case, as it processes the messages to retrieve the notes and other elements in a way more convenient for other usages. But you can use mido to work of "raw" MIDI messages.
@Natooz By midi sequence and midi duration sequence . I meant the thing is singing voice synthesis. for example like this
G#4/Ab4 G#4/Ab4 G#4/Ab4 G#4/Ab4 F#4/Gb4 F#4/Gb4 F#4/Gb4 F#4/Gb4 E4 E4 E4 E4 D#4/Eb4 D#4/Eb4 D#4/Eb4 D#4/Eb4 rest E4 E4 E4 E4 rest| this is midi sequence of a midi file
and then the duration sequence is the duration of each note in seconds like this
0.253030 0.253030 0.428030 0.428030 0.320870 0.320870~ etc
sorry if the question was unrelated.