lilypond-user
[Top][All Lists]
Advanced

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

Re: Metronome marks above piano staff of vocal score?


From: Steven Smith
Subject: Re: Metronome marks above piano staff of vocal score?
Date: Tue, 9 Jul 2019 11:51:12 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.2


On 7/9/19 11:18 AM, Malte Meyn wrote:


Am 09.07.19 um 18:52 schrieb Steven Smith:
Is there a a way to have the metronome mark created by "\tempo 4=80" appear next to the piano staff as well as above the top staff of a SATB/Piano score? My research indicates that this placement is fairly common in choral pieces. Also, some submission typesetting guidelines of various contest suggest that metronome marks appear above certain staff groups in orchestral scores (top of score,string section, percussion, etc).

Hi Steven,

the version 2.21.0 that will hopefully be released soon, fixes a bug that used to hinder an easy solution. Here is that solution:

\version "2.21.0"

\layout {
  % Depending on score layout, that engraver
  % should be added to the ChoirStaff context
  % as well and removed from the Score context.
  % If you want it only for some PianoStaves/StaffGroups/…,
  % you can use the \consists command in the respective
  % \with blocks.
  \context {
    \PianoStaff
    \consists Metronome_mark_engraver
  }
}

<<
  \new ChoirStaff <<
    \new Staff \with { vocalName = "Soprano" } { R1 }
    \new Staff \with { vocalName = "Alto" } { R1 }
    \new Staff \with { vocalName = "Tenor" } { \clef "treble_8" R1 }
    \new Staff \with { vocalName = "Bass" } { \clef bass R1 }
  >>
  \new PianoStaff \with { instrumentName = "Piano" } <<
    \new Staff { \tempo 4 = 80 R1 }
    \new Staff { \clef bass R1 }
  >>
>>


This is indeed the solution I expected to work with v2.19, and was surprised when it didn't. Apparently adding the engraver to the first staff of the group, instead of the group, will get the job done.  Looking forward to 2.21.

Thanks.




reply via email to

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