ireal-musicxml icon indicating copy to clipboard operation
ireal-musicxml copied to clipboard

Map iReal Pro styles to MMA grooves

Open infojunkie opened this issue 10 months ago • 6 comments

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.

infojunkie avatar Jul 02 '25 00:07 infojunkie

Refer to the original musicxml-midi issue.

infojunkie avatar Jul 02 '25 00:07 infojunkie

@BafS any interest in collaborating on this part?

infojunkie avatar Jul 02 '25 00:07 infojunkie

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?

BafS avatar Jul 02 '25 22:07 BafS

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.

infojunkie avatar Jul 02 '25 22:07 infojunkie

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.

BafS avatar Jul 07 '25 17:07 BafS

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.

infojunkie avatar Jul 07 '25 17:07 infojunkie