Map iReal Pro styles to MMA grooves
iReal Pro styles can be mapped to an open-source musical accompaniment system, in order to accurately replay the iReal Pro sheets on the Web.
Such a system exists in musicxml-midi + MMA, an API / XSL / Python library that generates MIDI accompaniment files given a MusicXML lead sheet and a description of the accompaniment pattern.
The Converter class here already exports a MusicXML element to name the iReal Pro groove. I think this name should be namespaced with "iReal Pro" to distinguish it from accompaniment patterns from other softwares.
What's missing is to recreate the various iReal Pro styles listed above with MMA groove scripts . Their names should correspond to the name exported above. This may involve reusing existing grooves from the extensive MMA library.
Refer to the original musicxml-midi issue.
@BafS any interest in collaborating on this part?
I never tried MMA but it looks interesting. Do you know if iReal is using MMA to generate the "backing tracks" or is it something in-house?
I am pretty sure iReal uses their own accompaniment algorithm that they guard jealously - that's probably their biggest edge in this space.
Happy to show you around MMA, I've been using it for many years now and have been hacking away at it. We can have a face-to-face intro call or something if you want to take this further.
Okay, I'm almost tempted to start something from scratch, but if MMA is doing this well it's a waste of time. I saw it's in python unfortunately so we cannot run it in the browser (js or wasm). But yes we can try that! Feel free to contact me via my email.
Great news, thanks for jumping in! I am pretty sure Pyodide would run MMA in the browser, but afaiu the codebase needs to be reorganized into a wheel-ready structure first.
I sent you an email for us to plan something.