lilypond-user
[Top][All Lists]
Advanced

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

Re: Dynamics line above staff


From: Bernhard Kleine
Subject: Re: Dynamics line above staff
Date: Fri, 21 May 2021 14:23:06 +0200
User-agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.2

here is the MWE:

\version "2.21.1"
\language "deutsch"
\header {
  title = "Ländler"
  tagline = "Bernhard Kleine 2021"
}
\paper {
  #(set-paper-size "a4")
}
global = {
  \key d \major
  \numericTimeSignature
  \time 3/4
}
soprano = \relative c'' {
  \global
  % Die Noten folgen hier.
  d4^\rfz^- fis,8 ([g]) fis ([g])| h4^^ a^. a^. | d^. d,8 ([e]) d ([e])
| g4^^ fis^. fis^.
}
dynamicI = {
%1
s8\mf s8\< s4. s8\! | s4 s4\> s8 s \! | s4\f  s4\< s8 s\! | s4 s4\> s8
s\! | s8^"cresc. poco a poco"\< s s4
  s8. s16\! s2.
}
sopranoVoice = \relative c' {
  \global
  \dynamicUp
  % Die Noten folgen hier.
  s2. s2. s2. s2. h4^.^^ d^. e^. | fis2^- r4 |
}
alto = \relative c' {
  \global
  % Die Noten folgen hier.
  fis4 d8 ([e]) d ([e]) | g4 fis fis | <d fis>4 h h|  e d d | h r r
    ais_._^ h_.\< cis_.\! 
}
tenor = \relative c' {
  \global
  % Die Noten folgen hier.
  a4 a a | d d d  |fis, fis8 ([g]) fis ([g]) | h4 h h8 ([a])| g4 r r|
    cis,4. fis8 fis4 | 
}
bass = \relative c {
  \global
  % Die Noten folgen hier.
  d4 d d | d d d8 ([cis]) | h4 h h | h h' h| R2. |
    fis,4 gis ais |  
}
altoVerseOne = \lyricmode {
  \set stanza = "1."
  % Liedtext folgt hier.
  Mä -- del, der Lenz ist da, Mä -- del der Lenz ist da, la
  Mä -- del, gib acht!
}
verseSopranoVoiceOne = \lyricmode {
  % Liedtext folgt hier.
  Mä -- del gib acht! 
}
choirPartI = \new ChoirStaff <<
  \new Staff = "sa" \with {
    instrumentName = \markup \center-column { "Sopran" "Alt" }
  } <<
    \new Dynamics = "page1"  \dynamicI
    \new Voice = "soprano" { \voiceOne \soprano }
    \new Voice = "ssoprano" { \voiceOne \sopranoVoice }
    \new Voice = "alto" { \voiceTwo \alto }
  >>
  \new Lyrics \lyricsto "alto" \altoVerseOne
  \new Lyrics \with {
    alignAboveContext = "sa" 
  } \lyricsto "ssoprano" \verseSopranoVoiceOne
 
  \new Staff = "tb" \with {
    instrumentName = \markup \center-column { "Tenor" "Bass" }
  } <<
    \clef bass
    \new Voice = "tenor" { \voiceOne \tenor }
    \new Voice = "bass" { \voiceTwo \bass }
  >>
>>


\score {
  \choirPartI
  \layout { }
}

Am 21.05.2021 um 11:46 schrieb Bernhard Kleine:
> Am 21.05.2021 um 11:09 schrieb Bernhard Kleine:
>> Hi,
>>
>> this snippet raises an error
>>
>>> \new Dynamics = "page1" with {
>>>       alignAboveContext = "sa"
>>>     } \dynamicI
>>>
>> while this does not:
>>
>>> \new Dynamics = "page1" \dynamicI
>>>
>> What is the proper was to place the dynamic line above the staff?
> The proper way!
>
> BTW I googled for it and could not find it.
>
-- 
spitzhalde9
D-79853 lenzkirch
bernhard.kleine@gmx.net
www.b-kleine.com, www.urseetal.net
Ich darf auf mein neues Buch "670 Falterarten im Hochschwarzwald" aufmerksam 
machen 
(Infos bei mir)
-
thunderbird
GPG schlüssel: D5257409
fingerprint:
08 B7 F8 70 22 7A FC C1 15 49 CA A6 C7 6F A0 2E D5 25 74 09


Attachment: OpenPGP_signature
Description: OpenPGP digital signature


reply via email to

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