Sorry, missed the point, here it is as a whole Esko
global = { \time 4/4 \tempo 4=120 \key a\major } melody = \relative c'' { \global e4. e8~ e4. d8 r4 r8 e8 a4 h4 \bar ".|:"h4 cis8 cis8 r2| r4 r8 e,8 a4 h8 c8~ c1~ c8 r8 r8 d,8 g4 a4 a4 h8 h8 r2 r4 r8 d,8 g4 a8 b8~ b2 d8 b8 f8 e8 r4 c4 b2 c4 b8 c8 r2 \break r4 a4h8 a8 gis8 a8~ a2 gis8 h8 gis8 a8 r4 a4 h8 a8 h8 e8~ e2 e8 fis8 e8 d8 r2 r4 r8 a8~a4. as8~ as4. gis8 r4 r8 e'8 a4 h4 } \score { << \new Staff { \melody } >> \layout { } \midi { } } David Kastrup <d...@gnu.org> kirjoitti 16.2.2016 kello 11.05: > Esko Teerilahti <esko...@iki.fi> writes: > >> Thnks for the answer ! >> Interesting, I have it in here, taken from some example >> >> global = { >> \time 4/4 >> \key a \major >> \tempo 4=120 >> } > > That's not an output producing example. Nobody can guess where you are > going to call \global. > >> Time and tempo are there in midi but not the key. > > More likely time and tempo are in the _control_ track whereas the key > (which needs not be the same across tracks) is in the individual > instruments' tracks. > > -- > David Kastrup _______________________________________________ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user