• Profile picture of echeveste
  • Profile picture of Jean-Louis Giavitto
  • Profile picture of Philippe Cuvillier
  • Profile picture of arshiacont


Groupe Public active 2 weeks ago

The user group for Antescofo.

workflow: om->lilypond->antescofo or not?

Auteur 5 Utilisateurs souscrits |
Profile photo of jarosmartin


I create my scores exporting from OM using omlily. Then I have two problems. One is that lilypond does not export to musicxml (or very limited) and also has problems converting grace notes (and other items) to midi; I want to create an Antescofo score and, as far as I know, these are the two formats that it can import. Then the question is about best practices. Midi or MusicXML ? Lilypond or not ? What would be the best workflow from OM to Antescofo and a printed score ? Please share your thoughts.


Novembre 30, 2015 à 18:16 #16341
Profile photo of JuliaBlondeau

Hi Jaros,

Actually, the importer works with MusicXML and Midi. I think it’s better to import a MusicXML score because it contains more informations. We had done some tests with Sibelius and Finale but not with Lilypond… So if you can, you have to prefer the musicXML but the MIDI works really fine too !

If you use Frescobaldi to edit in Lilypond, you can export to MusicXML… Try and see !

Don’t hesitate to tell us any problem that you can be faced with.


Novembre 30, 2015 à 18:27 #16342
Profile photo of Pierre

If you don’t want to use the user interface of Frescobaldi but just the internal logic, you can look at which is used internally by Frescobaldi and can export to musicXML.

Novembre 30, 2015 à 18:33 #16343
Profile photo of Karim

Dear Jaros,

With the new omlily available here :
You can export/import in om.
So if you do some changes, then you import them in om and tehn export them back in musicxml to antescoco this might be a reasonable workflow.
However, be aware, grace notes are still note available in om unfortunately. so if you add them this might not work.


Novembre 30, 2015 à 19:23 #16344
Profile photo of jarosmartin

Dear forum,

Thanks for the replies and good suggestions. My score does indeed have lots of grace notes, perhaps more than regular notes and the score is complex. But the issue is that I get lots of errors when exporting from Frescobaldi and the program crashes. I tried with different machines and systems.
In omlily, I get “the variable |vERSION| is unbound.
I really need something that works but I still refuse to open my Sibelius : )


BTW. Ascograph crashes on my Mountain Lion, Max 6.1
You might be interested to see this:
Dyld Error Message:
Symbol not found: __ZNSt12out_of_rangeD1Ev
Referenced from: /Applications/Max 6.1/*/
Expected in: /usr/lib/libstdc++.6.dylib
in /Applications/Max 6.1/*/

Novembre 30, 2015 à 23:14 #16345
Profile photo of Karim

Hi Jaros,

Did you install the links for commandline usage of Lilypond as stated in the README file ?
like here:
(in the “Running on the command-line” ?)


Novembre 30, 2015 à 23:32 #16346
Profile photo of jarosmartin

Hi Karim,

Yes I did, because I mainly use the Atom editor with AtLilyPond.

Novembre 30, 2015 à 23:59 #16347
Profile photo of Pierre

Hi Jaros,

Can you open another topic in the forum about the problem with Ascograph? It will be easier for us to deal with it (I think we’ve already encountered this bug but not corrected it yet!).

For the export ly -> musicxml with Frescobaldi, try to use the link above ( It is the development version so it think it should handle the conversion better than the version embedded in Frescobaldi.

  • Cette réponse a été modifiée 2 years et 10 months ago par Profile photo of Pierre Pierre.
Décembre 1, 2015 à 00:08 #16348
Profile photo of Karim

Sorry Folks,
It seems that Jaros has pointed out some topics here. Thanx to him!
Regarding lilypond version, my bad. I will check this on a mac ASAP. It might be a bug.
[ Jaros can you run this in your terminal : bash -l -c ‘lilypond -v’ ] and let me know…
Just to know, are you using tcsh or bash ?
Mac has really big issues with sh… That’s why i don’t use a mac no more!
Anyhow i will investigate and let you know.
For the Antescofo list: … sorry guys, for the off topic… but am glad to try to help out…

Best to you all

Décembre 1, 2015 à 00:15 #16349
Profile photo of jarosmartin

For Karim:
GNU LilyPond 2.18.2

Copyright (c) 1996–2012 by
Han-Wen Nienhuys <>
Jan Nieuwenhuizen <>
and others.

This program is free software. It is covered by the GNU General Public
License and you are welcome to change it and/or distribute copies of it
under certain conditions. Invoke as `lilypond –warranty’ for more

Thanks Pierre, I will try the link. I will also open another ticket but know that it works well on El Cap.


PS: I go back and forward from mac to linux. Anything that is text related: Latex, Lilypond, works well on Linux but I really have a hard time making audio interfaces work with Ubuntu. I find the mac platform to be very reliable for audio in a live setting/concert. Perhaps Karim could open a forum discussion or on how to deal from composition with OM, score production, sound synthesis and real time interaction with a Linux machine, but I think IRCAM is putting a lot of effort on making things for Max/MSP now. I would love to move to a 100% linux studio !

Décembre 1, 2015 à 00:39 #16351
Profile photo of jarosmartin

I know this isn’t a lilypond forum but I think I pinpointed the issue and Karim is a lilypond expert. To illustrate, I have created a simple example (attached)
It only works with either \ottava or \override TimeSignature. No issues when compiling, only when exporting to musicXml. I wonder if this happens when importing with omlily.


\version "2.18.2"
\include ""

\score {
  \new PianoStaff <<
     \override PianoStaff.BarLine.allow-span-bar = ##f
    \new Staff = "upperupper" 	{ \clef treble  }
    \new Staff = "upper" 	{ \clef bass 	 }
    \new Staff = "lower" 	{ \clef bass   }
     \context Staff = lower {
        \ottava #-2
        a,,,16 }
      \context Staff = upper {
        <c ais>16
        \change Staff = upperupper
        <e' a' c''>16
        <dis'' fis'' gis''>16
        <ais'' cis'''>16
        s1 s1 s1 s1 s1 s1
      \context Staff = upperupper{

\layout {
  \context {\PianoStaff      
    \override TimeSignature #'stencil = ##f 

  • Cette réponse a été modifiée 2 years et 10 months ago par Profile photo of jarosmartin jarosmartin.
Décembre 1, 2015 à 06:33 #16353
Profile photo of jarosmartin

attached :)

Décembre 1, 2015 à 06:36 #16354
Profile photo of Pierre

I’ve tried your example with the link I posted and it fails on 'stencil. I think the exporter to musicXML is working for a subset of Lilypond, not the whole syntax yet. So you can try to find what subset of the syntax is supported. But maybe exporting to MIDI would be a better solution?

Regarding Linux, there is a version of Antescofo for Puredata that should work well!

  • Cette réponse a été modifiée 2 years et 10 months ago par Profile photo of Pierre Pierre.
Décembre 1, 2015 à 11:10 #16362
Profile photo of Karim

Dear Jaros,

Unfortunately, this will not work in import om for these reasons :

1) Main one, it’s the Pianostaff issue. It is not yet supported by Om , since piano staff for Om doesn’t exist (c.f README included in omlily)

2) In order to make work things in import, Om exports the bar checks. These i found very practical. So no bar checks no import…

Sorry .
What i propose, is to send the om patch , with the music in it, and i will show you how to do these, including the musicxml export.


Décembre 1, 2015 à 12:34 #16364
Profile photo of jarosmartin

As Pierre said, exporting to MIDI might be a better solution and, according to Julia: “MIDI works really fine” so I think the most efficient* in terms of speed would be to use tags in Lilypond to have print and midi versions in the same file and replace grace notes with something with time information for the midi output.

OM.omlily -> Lilypond < (midi -> Antescofo, printed score)

This post deals with the issue of grace notes
\version “2.15.41”

music = \new Staff {
\tempo 4 = 120
\time 2/4

\set Staff.midiInstrument = “church organ”

\key a \minor

\relative c” {
\tag #’midi {}
\tag #’print { \acciaccatura gis’8 }
a4 e8. d16

\score {
\keepWithTag #’print
\layout {}

\score {
\keepWithTag #’midi
\midi {}

* Efficient meaning spending less time in the forums and more time writing music !


Décembre 1, 2015 à 18:28 #16378
Profile photo of arshiacont

Just be aware that while exporting to MIDI might seem “easier”, with MIDI you do not have Grace Notes, Trills, Glissandi, and depending on how the MIDI is constructed your might loose correct rhythms especially on highly polyphonic scores!

MusicXML exists to overcome such short comings and our MusicXML Importer in Antescofo also handles fermatas, stacatto and micro-tonal pitches… .

Décembre 1, 2015 à 19:11 #16379
Profile photo of jarosmartin

Dear Arshia,

I think you just said it all and this is particularly pointed in the Reference, sections 2.4.1 (MIDI) & 2.4.2 (MusicXML) on page 21.

“The Ascograph MusicXML import is optimised for MusicXML exports from FINALE software.” and then avoid this…that..etc.

Then the most efficient workflow would be:

OM -> MusicXML -> Finale -> Antescofo

which goes back the the very first reply by Julia: “We had done some tests with Sibelius and Finale but not with Lilypond”

Thank you !

Décembre 1, 2015 à 21:06 #16381
Profile photo of jarosmartin

Finally, I would like to point something that is at the bottom of the Misc section on the Antescofo page

“NAPro is the preferred score editor for Antescofo specially for polyphonic scores. You can import your musicXML scores into NAPro and save them to Antescofo format. Finale already has an XML export. Sibelius users should obtain an additional plugin in order to export their scores to XML format.

NAPro/Antescofo features are currently being enhanced.

NEW! Ircam Forum members can obtain NAPro at a special price. Contact the Ircam Forum coordinator.”

Perhaps someone using this pipeline can comment. I don’t mind investing time and money in NAPro in order to have a nice and more fluent workflow (and members get a special price)

merci beaucoup !

Décembre 1, 2015 à 21:46 #16382
Profile photo of arshiacont

@jarosmartin: Regarding your NAPro question: With the new MusicXML and MIDI convertor that is on-line since a few weeks, you should be able to import any MusicXML or MIDI score that is clean. Clean meaning that your extended techniques for example are not drawn graphically but with internal commands and assuming that your host (Finale, Sibelius, LilyPond etc) is exporting everything needed in MusicXML (and not just leave them as graphics).

Therefore, we no longer have a preferred editor. We hope to address most MusicXML files! We invested on MusicXML convertors since this file format is becoming the main interchange bridge these days.

I just updated the Misc web page to reflect this!

For those using NAPro: The action language support in NAPro reflects the state of Antescofo in 2009. Everything works but you should be aware that things have become just better and more robust since then. Maybe @kahamel will consider upgrading his API! :)

Décembre 2, 2015 à 10:30 #16384

Vous devez être connecté pour répondre à ce sujet.

Log in now