lilypond-user
[Top][All Lists]
Advanced

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

Re: Tempo markings placement for trio music


From: Jean Abou Samra
Subject: Re: Tempo markings placement for trio music
Date: Fri, 30 Apr 2021 20:06:54 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.7.1


Le 30/04/2021 à 19:17, Rachel Green a écrit :
Hi,
For trios, I would like all the tempo markings to occur both above all parts 
(as seen above the flute in the example below) but also right above the harp 
part. When I add a tempo marking to the harp part, it places it above the flute 
part, but when I add a regular markup to the harp part, the placement is not 
correct (too far right). Any ideas how to have tempo markings in both locations 
without manually adjusting the placement of each markup in the harp part?
Best,
Rachel

Hi,

You'd let the Metronome_mark_engraver operate in
the harp's Staff context in addition tothe Score
context, like this:

\version "2.22.0"

\language "english"

Markings = {
  \tempo "Adagio"
  s1
}

Flute = \relative c'' {
  \clef treble
  \key a \major
  r1 |
  r1 |
}

Viola = \relative c' {
  \key a \major
  \clef C
  r1
  fs4
}

Treble = \relative c' {
  \clef treble
  \time 4/4
  \key a \major
  r8
}

Bass = \relative c' {
  \clef bass
  \key a \major
  f4
}


<<
  \new Staff \with {
    instrumentName = Flute
  }
  \Flute

 \new Staff \with {
   instrumentName = Viola
 }
 \Viola
 \new GrandStaff \with {
   instrumentName = Harp
 }
 <<
   \new Staff \with {
     \consists Metronome_mark_engraver
   }
   << \Treble \Markings >>
   \new Staff \Bass
 >>
>>

Please see the documentation about adding and removing
engravers:

http://lilypond.org/doc/v2.22/Documentation/notation/modifying-context-plug_002dins

Best,
Jean




reply via email to

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