parangonar icon indicating copy to clipboard operation
parangonar copied to clipboard

Import midi and export aligned midi

Open Skinz3 opened this issue 1 year ago • 3 comments

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 ?

Skinz3 avatar Nov 12 '24 10:11 Skinz3

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!

sildater avatar Nov 14 '24 19:11 sildater

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?

Skinz3 avatar Nov 15 '24 11:11 Skinz3

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:

  • https://github.com/cheriell/pm2s
  • https://github.com/TimFelixBeyer/MIDI2ScoreTransformer

sildater avatar Nov 23 '24 21:11 sildater