How can I compare two midi files in % of sameness?

7 visualizaciones (últimos 30 días)
Jan Lechner
Jan Lechner el 4 de Abr. de 2021
Comentada: Image Analyst el 5 de Abr. de 2021
I have an ideal MIDI file and recordings of real performances of the same score. I need to evaluate, how much succesful real players were. I am looking for a tool like "diff".

Respuesta aceptada

Image Analyst
Image Analyst el 4 de Abr. de 2021
Do you mean like
mse = immse(midi1, midi2);
percentSame = 100 * sum(midi1 == midi2) / numel(midi1);
?
  2 comentarios
Jan Lechner
Jan Lechner el 5 de Abr. de 2021
Something like that, but Ideal (midi1) is computer-produced and Real (midi2) is recorded real performance. So they don't have the same size.
I need a tool that measures playing accuracy as the Android App "Perfect Piano" does.
And it doesn't have to be done on MIDI files - I can use *.ogg or *.wav files instead.
Image Analyst
Image Analyst el 5 de Abr. de 2021
You might have to do some cropping and scaling along both the x and y axes so they can be compared.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Simulation, Tuning, and Visualization en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by