infojunkie / musicxml-midi

MusicXML to MIDI converter via Musical MIDI Accompaniment (MMA).
https://blog.karimratib.me/demos/musicxml/
GNU General Public License v3.0
14 stars 2 forks source link

`musicxml-grooves.js` #50

Closed infojunkie closed 2 months ago

infojunkie commented 3 months ago

This cli tool runs through all MMA grooves, and converts them to MusicXML. In conjunction with the groove to MIDI generation API /groove, we can now have a Web-based drum machine that works with the existing musicxml-player technology.

infojunkie commented 3 months ago

Missing:

infojunkie commented 2 months ago

Here's the latest progress. This file was exported by musicxml-grooves and imported by MuseScore (3.6, because 4.x has broken MusicXML import) without a validation complaint.

JazzWaltzMainA-1

As per the attached log, a number of cases remain to be handled. I think the trickiest is to deal with articulated notes that are shorter than their scored notation, such as staccato.

infojunkie commented 2 months ago

Getting close... Here's a highly jittered groove, first manually quantized: JazzBasieAQuantized-1

And now automatically quantized against a grid of 16th notes + 8th triplets: JazzBasieA-1

infojunkie commented 2 months ago

Latest progress in quantization using a (4, 3) grid with optional beat dashed lines on:

JazzBasieA-1

For reference, here's how MuseScore imports the corresponding MIDI file:

JazzBasieA-MuseScore