Deutsches Lilypond Forum (Archiv)
Allgemein => Fragen zu Funktionen => Thema gestartet von: ToPDF am Donnerstag, 27. März 2014, 21:00
-
Wie stelle ich Verzierungen korrekt dar?
So ist noch nicht so schön:
\score{
\new Staff = "Oben" \with {
}
<<
\new Voice = "eins" { \voiceOne \relative c' { cis1 } }
\new Voice = "zwei" { \voiceTwo \relative c' {cis4. ( b8 a2 ) } }
\new Lyrics = "eins" \lyricsto "eins" {\lyricmode { ein __ } }
\new Lyrics = "zwei" \lyricsto "zwei" {\lyricmode { ein __ _ _ } }
>>
}
Unverziert soll cis1 erklingen.
Verziert soll cis4. ( b8 a2) erklingen.
Das Midi-File soll die verzierte Variante beinhalten.
-
Ich würde spontan sagen: pack die verzierte Variante in ein Ossia-System (Suche in der NR nach "ossia") und zum Thema midi gabs was mit sog. tags. (Suche in der NR nach "keepWithTag", kenn mich da nicht so aus).
-
ossia braucht halt viel Platz:
\score{
\new Staff = "Oben" \with {
}
<<
\new Voice = "eins" { \voiceOne \relative c' { cis1 | <<{cis1} \new Staff {cis4. ( b8 a2 ) } >> cis1 } }
\new Lyrics = "eins" \lyricsto "eins" {\lyricmode { wa -- gen. Das } }
>>
}
-
Hallo,
so?
\version "2.18.0"
m =
\new Voice = "eins" {
\relative c' {
\voiceOne
cis1 |
\tag #'print
<< { cis1 } \new CueVoice { \voiceTwo cis4.( b8 a2) } >>
\tag #'midi { cis4.( b8 a2) }
cis1
}
}
lyr =
\new Lyrics = "eins" \lyricsto "eins" \lyricmode { wa -- gen. Das }
staff-oben =
\new Staff = "Oben" \with { }
<< \m \lyr >>
\score {
\removeWithTag #'midi
\staff-oben
}
\score {
\removeWithTag #'print
\staff-oben
%% for visible control, uncomment:
%\layout { }
\midi { }
}
HTH,
Harm