lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Can't use edition engraver to place \time and \tempo


From: caagr98
Subject: Can't use edition engraver to place \time and \tempo
Date: Mon, 10 Jul 2017 00:49:02 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.2.1

I'd expect the two scores created by this to be identical, but the second one only has the \key applied (other stuff such as \bar and <>^"" works too), not the \time or \tempo. What am I doing wrong?

Also, it seems only the fourth argument is used for selecting editions (with \editionID); what's the first argument for?

```
\version "2.19.63"
\include "edition-engraver/edition-engraver.ily"

\consistToContexts #edition-engraver Score.Staff.Voice
\addEdition time
\editionMod time 1 0/0 E.Staff \key g \major
\editionMod time 1 0/0 E.Score \time 4/4
\editionMod time 1 0/0 E.Score \tempo "Some text" 4=120
\editionMod time 2 0/0 E.Score \time 2/4
\editionMod time 3 0/0 E.Score \time 4/4

\book {
  \score { \new Staff <<
    { b'1 2 1 }
{ \key g \major \time 4/4 \tempo "Some text" 4=120 s1 \time 2/4 s2 \time 4/4 s1}
  >> }
  \score {
    \new Staff { b'1 2 1 }
    \layout {
      \context {
        \Score
        \editionID E
      }
    }
  }
}
```



reply via email to

[Prev in Thread] Current Thread [Next in Thread]