Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

musicxml-grooves.js #50

Merged
merged 22 commits into from
Sep 17, 2024
Merged

musicxml-grooves.js #50

merged 22 commits into from
Sep 17, 2024

Conversation

infojunkie
Copy link
Owner

@infojunkie infojunkie commented Aug 26, 2024

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
Copy link
Owner Author

infojunkie commented Aug 26, 2024

Missing:

  • Some MIDI drum voices are missing in drums.xml
  • Some advanced beat timing detection such as triplets and swing are missing in getNoteTiming()
  • Tests

@infojunkie
Copy link
Owner Author

infojunkie commented Sep 4, 2024

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
Copy link
Owner Author

infojunkie commented Sep 12, 2024

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
Copy link
Owner Author

infojunkie commented Sep 15, 2024

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

@infojunkie infojunkie marked this pull request as ready for review September 17, 2024 05:59
@infojunkie infojunkie merged commit 3f88c68 into main Sep 17, 2024
0 of 3 checks passed
@infojunkie infojunkie deleted the musicxml-grooves branch September 17, 2024 06:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant