SourceForge.net Logo

1.4. Language

LDP supports to use a customized set of tags for each language, so if, for example, you would prefer to encode the scores using tags in Spanish instead of tags in English, you would write:

  (score                            //the score and language tags are the only non-translatable
     (language es ISO-8859-1)       //specifies to use the Spanish set of tags
     (vers 1.5)
     (instrumento
        (voz
            (clave Sol)         //note the keyword 'clave' instead of 'clef'
            (tonalidad Do)
            (metrica 4 4)
            (n c4 r)            // duration: r (redonda = whole note)
            (barra)
        )
     )
  )