sildater / parangonar

alignment of symbolic music
Apache License 2.0
24 stars 1 forks source link

Import midi and export aligned midi #11

Open Skinz3 opened 1 week ago

Skinz3 commented 1 week ago

Hello, i just discovered your project , i love it ! :)

I was trying to convert the aligned result to a midi file, i cannot figure it out how to make it. (How to get the match file and get the midi file back)

Could you help me please ?

sildater commented 1 week ago

Hi! Thanks for the issue! I'm not sure I understand what you want to do exactly. Parangonar does not produce MIDI files, it parses MIDI and other music formats with partitura and computes note wise matches, the only thing parangonar produces are the note matches as simple text files or match files. Check the getting started notebook for some sample code!

Skinz3 commented 1 week ago

I may have misunderstood the purpose of the project then :) I thought this tool was designed to intelligently quantize a MIDI file, so as to place each note correctly within a measure. I was planning to use it to help me generate sheet music from the MIDI file, but I guess I'm on the wrong track, right?

sildater commented 6 hours ago

ah, yes, that's not the goal here. Parangonar creates lists of note matches between two versions. when one version is a score/quantized version, parangonar produces data that can then be used for machine learning models of quantization and scorification. You might want to look into these approaches: