miditoolkit icon indicating copy to clipboard operation
miditoolkit copied to clipboard

A Question

Open francqz31 opened this issue 2 years ago • 2 comments

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 !

francqz31 avatar Nov 09 '23 00:11 francqz31

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 avatar Nov 15 '23 21:11 Natooz

@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.

francqz31 avatar Nov 15 '23 22:11 francqz31