Optimizing DTW-based audio-to-MIDI alignment and matching | Synapse