< Back to IRCAM Forum

MusicXML Export from OM

Here is a message from and OM user. Anyone has some experience about exporting from OM to Sibelius ?
thank you !

I'm trying to get OpenMusic POLY object exports into Sibelius. I use to export the POLY as MusicXML but now I see that dynamics are not featured. Can you confirm? How could I get a POLY object with quarter-tones (MIDI is excluded) AND dynamics into Sibelius?

Hi,

Dynamics have been never exported in a musicxml nor in etf. for a simple reason :
In OM all notes have a defaut dynamic. So if we export the dynamics, your score will be “invaded” by mf on each note.

We have disscussed this, some years ago. What is good to export are dynamics as extras. But they are not very stable for the time being.

Best
K

Bonjour,

Je rebondis sur l’exportation en XLM mais avec Notion 4 (http://www.notionmusic.com/products/notion4.html) - ou son application Notion pour l’Ipad - qui permet d’écrire de façon native en quart de temps avec ses instruments natifs (http://www.deb8076.eu/scores/Textures1a.mp4). J’ai testĂ© l’exportation XML avec l’exemple 30 du tutoriel. Si les hauteurs sont respectĂ©es, y compris en quart de ton (j’ai vĂ©rifiĂ©), les durĂ©es ne le sont pas. Mais aprĂšs retouche sur la partition, on peut toutefois travailler.

OMExportXMLNotion4.jpg

Cher Didier,

Il faut prendre en considĂ©ration, que le format MusicXml tout Ă©tant propose comme standard, n’est pas vraiment le responsable de la non-conformitĂ© du contenu
 Ce qu’il faut avoir a l’esprit c’est le fait , que musicxml a ses propres spĂ©cifications, 
 mais d’un autre cote , est c’est la ou le bat blesse , c’est le “parsing” (programme pour “dĂ©coder” musicxml) qui selon la “boutique” (Finale, Sibelius, que-sais-je-encore) dĂ©codent a vau-l’eau 
 pour une raison simple 
 La concurrence

Donc, l’auberge, on y est encore 
 Bien malheureusement

k

Cher karim,

Je suis d’accord avec toi. En fait, je profitais de ce sujet sur l’exportation XML pour Ă©voquer Notion qui s’il n’a pas toute la puissance de Finale et SibĂ©lius, notamment au niveau de la gravure, est en revanche beaucoup plus intuitif, plus ergonomique au niveau de la saisie des notes. Et chose que je trouve trĂšs intĂ©ressante, il gĂšre avec ses instruments de façon native le quart de ton. Et s’il ne respecte pas en exportation les durĂ©es, en revanche la notation quart de ton est respectĂ©e. C’est dĂ©jĂ  pas mal pour ma part.
Bien Ă  toi.
Didier

PS, si tu avais le temps de jeter un petit coup d’oeil sur mon patch concernant le calcul des tempĂ©raments (discussion calcul des tempĂ©raments), j’aimerai bien avoir ton avis car en fin de compte, avec la petite boĂźte Text-view, j’ai rĂ©ussi Ă  afficher l’ensemble des rĂ©sultats dans diffĂ©rentes configurations. Et ce fut trĂšs pĂ©dagogique car du coup j’ai pas mal appris sur Omloop et mapcar.

Hello, I am a beginner with OM. I have a simple question: how to export XML file from Open Music6.8. to the Finale (2011) with dynamics? When exporting the data on the dynamics always lose (export from poly or voice - conect with chord etc).A related one and the same time naive question plus: there is a possibility that part from OM exported (as XML file) including not only dynamics - velocity, but also incl. marks of dynamics? Thank you for your answers, Petr

Hi,

Very good question!
The export code being a contribution by myself, i have started to do this. The trouble with this issue, is the following:
All notes in VOICES POLY or Chord-seq, (Score objects) have a dynamic attached to by default. So say If you export a VOICE, you will have a dynamic for each note and chord, which outputs an awkward score. I have a prototype (not released yet), in my om2lily lib, that includes dynamics BUT using the EXTRA features of OM. These are user’s defined marks. They could be anything. Now the trouble here is that the EXTRAs in om are unstable. So it would be great to stabilize them so they can be used for this purpose or any other.

Best
K

1 Like

Hi Karim, thank you for your answer! I am very glad that for the opportunity to ask directly the creator of this feature. Let me ask one more question. Why is not possible to export MIDI when in the score object are ligatures across the barline, it allways produces an error warning – ‘nil is not of type OM-MINI
etc.? If it would be possible to export MIDI in a rhytm.complicated part (data crossing the barline), I could copy MIDI data- velocity and add them to XML import in the FINALE and problem I walked around this way. Or is there any possiblity how to export dynamics from OM score objects? Other export formats or way? Thank you very much, best,Petrh

Dear OM developers,

I’m having problems with importing XML files produced with OM POLY objects. I’m using Sibelius 7 or Finale note pad to import them and I’m getting notation errors. It is slowing down the automation of musical objects and I have lost a lot of time trying to understand the errors. It seems that exporting XML with music written in 4/2 time signature is most problematic. Also, when the first voice begins with a rest, I’ve had some errors also. The solution was to export EACH voice to XML and then combine them.

My question is whether OM XML export specification is up-to-date or whether this is a fault with Sibelius XML import engine. Is IRCAM updating the XML export feature of OM?

Bottom line is that I was using OM to test and speed up formalized processes, but this is actually slowing everything down! I’m having to devise workarounds all the time!

Thank you very much for replies.

Here goes a sample file from a score I’m working on. Can anyone get correct notation in Sibelius or Finale?

PS: I’ve used Finale 2014 just now and still errors. Watch voice 3, third bar. The breve tied from previous bar


Thank you

poly-xml-export.omp (24.2 KB)

[hello I have merged your question with the existing threads on MusicXML export]

Finale NotePad reports some line number with errors.
If you go to these lines in the XML file, you will probably find “NIL” at the beginning of the line.
Just remove them (there are 3 of them in the example you provided) and try to reload (it works here).

These NIL are obviously bugs in the OM export, we need to figure out where they come from


Thank you very much Jean. Yes, removing the ‘nil’ words from the XML file solves the initial error messages that Finale outputs at import. But the thrid voice, third bar problem remains: the breve is notated as a minim and no pause is inserted to complete the bar


I’m attaching a screen printout from Sibelius import. Bar 4 is deleted almost completely
 Major problems elsewhere.

I tried to replicate voice 3 in Sibelius by notating it by hand. Then I exported to XML. The XML output from Sibelius is very different from OM. Namely, the breve duration is ‘2048’, so I guess the XML specification is outdated in OM. This could be the cause of the problem. Ties, etc, remain problematic
 BUT, Finale imports it really fine. That means Sibelius and Finale speak the same XML language. :slight_smile:

Would be very happy to see this figured out in the future. XML export is a MUST for connecting OM with the major music notation software packages.

I’ll be following this topic. Do let me know if I can further help in some way.

Best,
Gonçalo

Sibelius-Import-of-POLY.png

Gato,

thanx for pointing out this BUG

This is the fix

Put the file in your “patches” folder in your OM folder.
this should fix it


K

corr1-musicxml.lisp (6.88 KB)

Thank you Karim. Will try it now.

In the meanwhile I was reading the XML file from OM and found that in the place of a ‘breve’ (under the ‘type’ tag), OM wrote ‘half’, so perhaps it is down to not types and namings


Here is the part 3 (Voice 3), measure 3:

1/4 4 2 A 0 5 2 half

Just tried exporting the same POLY. Same problems on Sibelius import
 Pretty much what I showed in the picture above.

I found out that things improve a lot when I replace this:

2
half

with this:

2
breve

on the XML file. Still have some problems. See picture attached after import with this modification of the XML file.

improved-import-POLY.png

Also replacing this:

2


half

with this:

2


breve

Helps, of course.

Now there remains some problems. I think that they are still related to duration and type naming


Right !
You should found another bug !
Here is the fix. Replace the former file by this one.
It’s in testing mode.
If there are other problems, please do report.

THanx by the way.!

K

corr1-musicxml1.lisp (12.7 KB)


Sorry i mispelled,

You HAVE found another bug 
 (instead of should
!)
Sorry !
K

You’re welcome, Karim! It seems we’re on the right track. I’ll try and test it.