< Back to IRCAM Forum

Error with export-musicxml

I get an error while trying to export a poly object as musicxml. Program says “Error while evaluating the box EXPORT-MUSICXML: In numerator of ((9/32 0)) arguments should be of type rational.” What could be the problem?

Dear Yavuztlilek,

Could you please send the POLY object and a screenshot of your patch in order to see what’s wrong with this export because it could be many things…

Best
K

It’s quite messy, sorry for that. :slight_smile:

percproject.omp (446.3 KB) This is the file also.

Thanx Yavuztilek,

It’s a bug. I am on it. However, be notified, the export musicxml should be totaly revised since it is not really compatible with all parsers (Finale, sibelius, musescore etc…) Each of them have particular specifications.

Will notifiy you when fixed.
BEst
K

Dear Yavuztilek,

Here is the fix (put it in the init folder inside your OpenMusic foder).
This will be fixed in the next release.

Best
K
fix_musicxml_201220.lisp (2.1 KB)

I did what you told me and result is the same.

My bad !
delete the one i uploaded and put this instead…
Sorry
and make sure you relaunch OM after that.

fix_musicxml_201220b.lisp (2.1 KB)

Thank you very much. :slight_smile: