< Back to IRCAM Forum

Include midi channel data in export-musicxml?

Thanks very much Karim. Midi channel data and tuplet rendering both work well…much appreciated!
best,
Leonard

vers20.jpg

Hi Leonard. If you have a chance, could you provide both the poly (just a poly in a simple OM patch) AND the generated XML files (with/without Karim’s fix) ?

In other word, either the XML files exported from your attached example, or the POLY corresponding to your previous XML files.

I am trying to fix your problem in the OM base code, which will be better that relying on separate fix each time you will update something.

Thank you
Jean

… or you can directly try with this file, to use instead of Karim’s last file (don’t keep both of them, and restart OM when you change it).

This is a “blind” fix (not tested). Let me know if it works :slight_smile:

Thank you
—Jean

export-mxml.lisp (37.1 KB)

Hi Jean, looks like Karim’s version 21 fix is still the best so far, as it doesn’t produce errors in tuplets. Let me know if you need a different poly or xmls …Thanks!

xml-tests.rar (355 KB)

ok — here is another try
please replace the previous one.

export-mxml-2.lisp (42.4 KB)

Lokks good, Jean…thank you!
best,
Leonard

jeans-export-mxml-2-fix.pdf (213 KB)

Jean,
Sorry, I jumped the gun. Your export-mxml-2 fix produces this error with the attached poly. Karim’s vers21 still works well though.
best,
Leonard

error-with-export-mxml-2.png

Sorry — here is a fix for that, too !

export-mxml-3.lisp (42.4 KB)

That did the trick. Thanks much Jean.