Deutsches Lilypond Forum (Archiv)
Allgemein => Fragen zu Funktionen => Thema gestartet von: flashgordon am Mittwoch, 24. Dezember 2014, 16:35
-
Liebe Lilypond-Fans,
Vor allem möchte ich euch Frohe Weihnachten und guten Rutsch wünschen, außerdem eure ganz jahrige Hilfe herzlichen und tiefsten bedanken. :)
Am folgenden Fragen möchte ich wieder um eure Hilfe bitten:
- Ich habe ein „Prima-Seconda volta” gemacht, aber die eckige Klammern sind nur oben der Sopran-Stimme sichtbar. Was sollte ich tun, wenn ich sie bei allen Stimmen (SATB) erstellen will?
(https://lh4.googleusercontent.com/-Ev48DYwwT8Y/VJrag32zfXI/AAAAAAAAEHk/apnItVYKg-w/w823-h438-no/K%C3%A9pkiv%C3%A1g%C3%A1s.JPG)
- Ich möchte, wenn eckige Klammer neben System bei Bass-Stimme beendet und Ossia-Stimme verbindet nur mit dünner Linie.
(https://lh6.googleusercontent.com/-2mR6ckTEk3c/VJraVilA3PI/AAAAAAAAEHc/YvjEpRs8vn8/w403-h449-no/ossia%2Bsz%C3%B3lam.JPG)
- Meine letzte Frage: Ich möchte auf die ersten Note verbindenen Bindebogen erstellen, die auf die letzten Noten des zehnten Taktes verbinden.
(https://lh6.googleusercontent.com/-S4wF4MdGbYI/VJraSvBxMbI/AAAAAAAAEHU/1Qeq2M4wSoA/w455-h429-no/k%C3%B6t%C5%91%C3%ADvek.JPG)
\version "2.18.2"
\header {
title = "Hosanna"
subtitle = "Op.21"
composer = "Dombó Dániel"
}
global = {
\key c \major
\time 4/4
\tempo 4=65
\dynamicUp
}
soprano = {
\global
r4 r4 bes8\mp f'8 f'4~ f'8 r8 r4 d'8 \mf a'8 a'4~ a'8 r8 r4 g'8 \f e''8 e''4~\< e''8\! e''8 f''8 e''8 d''8 e''4.~
\time 5/4
e''4. \breathe e''8 f''8 e''8 d''8 e''4.~
<< { \voiceOne e''4. \breathe e''8^"poco rit." f''8 e''8 d''8e''4.\fermata\breathe } \new Voice { \voiceTwo { e''4. c''8 d''8 c''8 bes'8 cis''4. } } >>
\time 6/4
<< { \voiceOne \tempo 4=58 cis''1\p e''8( a''4 e''8) } \new Voice { \voiceTwo { a'1 cis''2 }}>>
\time 4/4
<< { \voiceOne e''2\< cis''2\> cis''4\< (e''4) f''4. g''8 } \new Voice { \voiceTwo { d''4. (bes'8) a'2 \time 6/4 a'4 (cis''4) d''4. e''8 }}>>
%<< { \voiceOne fis''2( } \new Voice { \voiceTwo { cis''2( }}>>
<< { \voiceOne fis''2(\> \time 4/4 \tempo 4=65 fis''4)\!bes'8\rest bes'16\rest cis''16\f fis''8. fis''16 eis''8
cis''8 cis''4\< cis''4 cis''8 (
b'4.)b'4\! (a'4) fis'4 _(e'4) e'8 _(d'4.) d'4( e'4) d'4 bes'4\rest a8.\! bes'16\rest bes'4\rest } \stemUp
\new Voice { \voiceTwo { cis''2( cis''4) bes'8\rest bes'16\rest ais'16 cis''8. cis''16 cis''8
cis''8 ais'4 ais'4 gis'2 fis'4._( e'16 fis'16 )
fis'4~ e'4 e'8\> d'4. d'4 e'4 d'4 bes'4\rest a8. bes'16\rest bes'4\rest } }>>
\time 16/8 R1 R4 R4 R4 R8 R8 \time 18/8 R1 R4 R4 R4 R8 R8 R8 R8 \time 16/8 R1 R4 R4 R4 R8 R8 \time 13/8 R1 R4 R4 R8
\time 4/4
<< { \voiceOne \melisma fis''4) bes'8\rest bes'16\rest \melismaEnd cis''16\f fis''8. fis''16 eis''8 cis''8}
\new Voice { \voiceTwo { cis''4) bes'8\rest bes'16\rest ais'16 cis''8. cis''16 cis''8
cis''8 } } >>
<< { \voiceOne cis''4\> cis''4 cis''4. b'8 ais'2 fis'2\! } \new Voice { \voiceTwo { ais'4 ais'4 cis''4. b'8 ais'2 fis'2 }}>>
\time 6/4
e'8^"rit." _(d'8) cis'4 cis'2 cis'2 \bar "|."
}
alto = {
\global
r4 r4 bes8 \mp bes8 bes4~ bes8 r8 r4 d'8 \mf d'8 d'4~ d'8 r8 r4 e'8 \f g'8 g'4~\< g'8\! g'8 a'8 g'8 f'8 g'4.~
\breathe
\time 5/4 g'4. \breathe g'8 a'8 g'8 f'8 g'4.~ g'4. \breathe g'8^"poco rit." a'8 g'8 f'8^"poco rit." a'4.\fermata \breathe \time 6/4 e'1 \p a'2
\time 4/4 bes'8(\< a'8 g'4) e'2\> e'4\< (a'4) a'4. a'8
ais'2~ \>
\time 4/4 ais'4 \! r8 r16 fis'16\f ais'8. ais'16 ais'8 ais'8 fis'4\< fis'4 e'2 d'2\! d'2 d'2\> g4.(bes8) a4 r4 a8.\! r16 r4
\time 16/8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8
\time 18/8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8
\time 16/8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8
\time 13/8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 R8 \time 4/4 \melisma ais'4 r8 r16 \melismaEnd fis'16\f ais'8. ais'16 ais'8 ais'8
fis'4\> fis'4 g'4. g'8 fis'2 cis'4.(d'8)\!
\time 6/4 b4^"rit." b4 ais2 ais2 \bar "|."
}
tenor = {
\global
c8 \mp g8 g2. c8 \mf g8 g2. c8 \f g8 g2.\<~
g8\! g8 a8 g8 f8 g4.(
\time 5/4 g4.) \breathe c'8 d'8 c'8 bes8 c'4.~ c'4. \breathe c'8^"poco rit." d'8 c'8 c'8 a4.\fermata\breathe \time 6/4 r4 r8 \autoBeamOff
e8\mf \autoBeamOn a8^"Dolce" (b8)
b8(cis'8) a4. e8
\time 4/4 f2\< e4.\> \breathe \autoBeamOff e8\! a8(\< [b8]) b8( [cis'8)] d'8( [e'8])\autoBeamOn f'8 e'8
cis'2~ \>
\time 4/4 cis'4\! cis'8\f cis'8 fis8. fis16~ \autoBeamOff fis8.\breathe gis16\autoBeamOn
ais8.\< ais16 cis'8 ais8 b2 \!(a2) g2 f4.\>( e16 f16) e2 f4 r4 f8. \! r16 r4
\time 16/8 f8[( e8)] f8[( g8)] g8 [g8 g8] g8[ g8 g8] bes8[ a8 a8] g8 a4
\time 18/8 g8[ g8 g8] g8 g8[ g8 g8] g8[ g8 g8] a8[ g8 g8] f8 e4 (d4)\breathe
\time 16/8 f8( [e8]) f8 ([g8]) g8 [g8] g8 [g8] g8 g8[ g8 bes8 a8] g8 a4
\time 13/8 g8 [g8] g8 [g8] g8 a8[ g8 f8 f8] e4~ (d4) \time 4/4 \melisma cis'4\! \melismaEnd cis'8\f cis'8 fis8. fis16~ \autoBeamOff fis8.\breathe gis16\autoBeamOn
ais8.\> [ais16] cis'8[ ais8] b2 (cis'2) ais2 \!
\time 6/4 g4^"rit." (e8) g8 fis2 fis2 \bar "|."
}
bass = {
\global
\dynamicUp
\repeat volta 2{
c8 \mp c8 c2. c8 \mf c8 c2. c8 \f c8 c2.~\< [ c8\! c8] d8 [c8] bes,8 c8 \breathe g,8[ c8 ]
\time 5/4
<< { \voiceOne c4. \breathe g8 a8 g8 f8 g8 \breathe g8 c8 g4. \breathe g8^"poco rit." bes8 g8 f8 e4.\fermata\breathe }
\new Voice { \voiceTwo { c4.c8 d8 c8 bes,8 c8 g,8 c8 c4. c8 d8 c8 bes,8 a,4. } }>>
<< { \voiceOne \time 6/4 e2\p \melisma e8 (g8) f (e8)\melismaEnd e4.\melisma e8 \melismaEnd
f2\< e4. \> \melisma \breathe e8\!\melismaEnd a4\< \melisma g8 ([f8]) f8 (g8)\melismaEnd a8( \melisma g8) \melismaEnd
fis4\! d8\rest d16\rest cis16 }
\new Voice { \voiceTwo {a,1 a,2 \time 4/4 bes,2 a,2 a,2 (d4) bes,4 fis4 d8\rest d16\rest\f cis16 }}>>
\time 4/4 \stemDown \time 4/4 }
\alternative {
{
fis8. fis16 cis'8 cis'8 fis8. cis16( \autoBeamOff fis8.)\breathe cis16 \autoBeamOn
fis8.\< fis16 ais8 fis8 e4.\!( d16 e16 ) \stemUp d2 c4.\(
\melisma b,16 c16\)\melismaEnd bes,2\>( a,4.g,8)
<< { \voiceOne d4 d4\rest d8. \! d16\rest d4\rest } \new Voice { \voiceTwo {d4 d4\rest d,8. d16\rest d4\rest } } >>
\stemDown << { %itt kezdődik az ossiával párhuzamos eredeti szólam!
<< { \voiceOne d,4 d,4 f,8 [e, f,] g, [f, g,] g, [g, c] bes, a,4 bes,8 [bes, bes,] bes, a, [bes, a,]
bes, [bes, bes,] c [bes,8 a,] bes, c4 (d)
\pageBreak d4 bes,4 bes,8 [bes,] bes, [es] d es[ f d f] es fis4 \pageBreak es8 [d] es [f] es c[ c bes, d] c4 (a,) }
\new Voice { \voiceTwo { d,4 d,4 f,8 [e, f,] g, [f, g,] g, [g, c] bes, a,4
bes,8 [bes, bes,] bes, a, [bes, a,] bes, [bes, bes,] c [bes,8 a,] bes, c4 d\breathe
d,4 d,4 es,8 [es,] g, [bes,] bes, bes,[ bes, g, g,] c d4 bes,8 [bes,] bes, [a,] a, f,[ e,? d, bes,] g,4 (d,)
} } >>
}
%Most jön az ossia szólam
\new Staff \with {
% \remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\override StaffSymbol.thickness = #(magstep -3)
% firstClef = ##f
}
{\clef bass
\time 16/8 f8^"ossia"[( e8)] f8[( g8)] g8 [g8 g8] g8[ g8 g8] bes8[ a8 a8] g8 a4
% g8[ g8 g8] g8 g8[ g8 g8] g8[ g8 g8] a8[ g8 g8] f8 e4 (d4)
\time 18/8 g8 [g8 g8] g8 g8[ g8 g8] g8 [g8 g8] a8 [g g8] f8 e4 (d4)\breathe
\time 16/8 f8( [e8]) f8 ([g8]) g8 [g8] g8 [g8] g8 g8[ g8 bes8 a8] g8 a4
\time 13/8 g8 [g8] g8 [g8] g8 a8[ g8 f8 f8] e4~ (d4)
} %az ossia szólama
>> %az ossia vége
} % ismétlőjel
{
fis8. fis16 cis'8 cis'8 fis8. cis16( \autoBeamOff fis8.)\breathe cis16 \autoBeamOn
fis8.\> fis16 ais8 fis8 d4 (e4) \autoBeamOff fis8.\breathe cis16 fis8 \autoBeamOn fis4. e8 (d8) \! \time 6/4
<< { \voiceOne d4^"rit." (a,4) cis2 cis2} \new Voice { \voiceTwo {d4 a,4 fis,4.(cis,8) fis,2}}>> \bar "|."
}
}
}
sopranoVerse = \lyricmode {
Ho -- san -- na Ho -- san -- na Ho -- san -- na fi -- li -- o Da -- vid: fi -- li -- o Da -- vid:
fi -- li -- o Da -- vid: be -- ne -- di -- ctus... Rex Is -- ra -- el:
Ho -- san -- na in ex -- cel -- sis. Ho -- san -- na in ex -- cel -- sis Ho -- san -- na in ex
cel -- sis in ex -- cel -- sis in ex -- cel -- sis.
}
altoVerse = \lyricmode {
Ho -- san -- na Ho -- san -- na Ho -- san -- na fi -- li -- o Da -- vid: fi -- li -- o Da -- vid:
fi -- li -- o Da -- vid: be -- ne -- di -- ctus... Rex Is -- ra -- el:
Ho -- san -- na in ex -- cel -- sis. Ho -- san -- na in ex -- cel -- sis Ho -- san -- na in ex
cel -- sis in ex -- cel -- sis in ex -- cel -- sis.
}
tenorVerse = \lyricmode {
Ho -- san -- na Ho -- san -- na Ho -- san -- na fi -- li -- o Da -- vid: fi -- li -- o Da -- vid:
fi -- li -- o Da -- vid: be -- ne -- di -- ctus qui ve -- nit in no -- mi -- ne Do -- mi -- ni.
in ex -- cel -- sis. Ho -- san -- na in ex -- cel -- sis in ex -- cel -- sis
Con -- fi -- te -- mi -- ni Do -- mi -- no, qou -- ni -- am bo -- nus, quo -- ni -- am in sae -- cu -- lum
mi -- se -- ri -- cor -- di -- a e -- ius.
De -- us me -- us es tu, et con -- fi -- te -- bor ti -- bi, De -- us me -- us, et ex -- al -- ta -- bo te.
in -- ex -- cel -- sis Ho -- san -- na in ex -- cel -- sis in ex -- cel -- sis in %ex -- cel -- sis.
}
bassVerse = \lyricmode {
Ho -- san -- na Ho -- san -- na Ho -- san -- na fi -- li -- o Da -- vid: Ho -- san -- na fi -- li -- o Da -- vid: Ho -- san -- na
fi -- li -- o Da -- vid: be -- ne -- di -- ctus Do -- mi -- ni.
Ho -- san -- na in ex -- cel -- sis. Ho -- san -- na in ex -- cel -- sis in ex -- cel -- sis
Con -- fi -- te -- mi -- ni Do -- mi -- no, qou -- ni -- am bo -- nus, quo -- ni -- am in sae -- cu -- lum
mi -- se -- ri -- cor -- di -- a e -- ius.
De -- us me -- us es tu, et con -- fi -- te -- bor ti -- bi, De -- us me -- us, et ex -- al -- ta -- bo te.
san -- na in ex cel -- sis Ho -- san -- na in ex -- cel -- sis Ho -- san -- na in ex -- cel -- sis.
}
rehearsalMidi = #
(define-music-function
(parser location name midiInstrument lyrics) (string? string? ly:music?)
#{
\unfoldRepeats <<
\new Staff = "soprano" \new Voice = "soprano" { \soprano }
\new Staff = "alto" \new Voice = "alto" { \alto }
\new Staff = "tenor" \new Voice = "tenor" { \tenor }
\new Staff = "bass" \new Voice = "bass" { \bass }
\context Staff = $name {
\set Score.midiMinimumVolume = #0.5
\set Score.midiMaximumVolume = #0.5
\set Score.tempoWholesPerMinute = #(ly:make-moment 65 4)
\set Staff.midiMinimumVolume = #0.8
\set Staff.midiMaximumVolume = #1.0
\set Staff.midiInstrument = $midiInstrument
}
\new Lyrics \with {
alignBelowContext = $name
} \lyricsto $name $lyrics
>>
#})
\score {
\new ChoirStaff <<
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Sopran"
} { \soprano }
\addlyrics { \sopranoVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Alt"
} { \alto }
\addlyrics { \altoVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Tenor"
} { \clef "treble_8" \tenor }
\addlyrics { \tenorVerse }
\new Staff \with {
midiInstrument = "choir aahs"
instrumentName = "Bass"
} { \clef bass \bass }
\addlyrics { \bassVerse }
>>
\layout { }
\midi {
\tempo 4=65
}
}
% MIDI-Dateien zum Proben:
\book {
\bookOutputSuffix "soprano"
\score {
\rehearsalMidi "soprano" "soprano sax" \sopranoVerse
\midi { }
}
}
\book {
\bookOutputSuffix "alto"
\score {
\rehearsalMidi "alto" "soprano sax" \altoVerse
\midi { }
}
}
\book {
\bookOutputSuffix "tenor"
\score {
\rehearsalMidi "tenor" "tenor sax" \tenorVerse
\midi { }
}
}
\book {
\bookOutputSuffix "bass"
\score {
\rehearsalMidi "bass" "tenor sax" \bassVerse
\midi { }
}
}
Vielen Dank für die Antworten! :)
-
Hallo flashgordon
vor allem: dir auch frohe Weihnachten :)
Ich muss jetzt weg, habe Gottesdienst mit Orchester und die Probe beginnt bald...
Deswegen nur ein Code, der deine erste beide Fragen beantwortet:
\version "2.18.2"
mI = \relative c'' {
\repeat volta 2 {
c c c c~
}
\alternative {
{ c c c c }
{ c\repeatTie c c c }
}
}
mII = \relative c'' {
\repeat volta 2 {
c c c c
}
\alternative {
{ c c c c }
{ c c c c }
}
}
\score {
\new ChoirStaff <<
\new Staff \mI
\new Staff \with { \consists "Volta_engraver" } \mII
>>
}
Für die dritte Frage habe ich jetzt leider keine Zeit... sorry... Der Code, den du gepostet hast, ist auch sehr lange. Wäre vielleicht besser gewesen mit einem Minimalbeispiel. :)
Schönen Abend und lieben Gruss
Eugenio
-
Minimalbeispiel für die dritte Frage:
\version "2.18.2"
mI = \relative c'' {
c2 c c c c c c c c c c c
c c c c c c c c c c c c
c c c c c c c c c c c c
}
mII = \relative c'' {
c c c c c c c c c c c c
<<
\new Staff \with {
% \remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\override StaffSymbol.thickness = #(magstep -3)
% firstClef = ##f
}
{\clef bass
c c c c c c c c c c c c
c c c c c c c c c c c c
c c c c c c c c c c c c
c c c c c c c c c c c c
}%az ossia szólama
>> %az ossia vége
c c c c c c c c c c c c
c c c c c c c c c c c c
}
\score {
\new ChoirStaff <<
\new Staff \mI
\new Staff \with { \consists "Volta_engraver" } \mII
>>
}
-
Verbindungsbogen sind zu kurz worden. Wie kann ich sie verlängern?
{\time 4/4
\melisma fis''4\repeatTie }
-
Hallo!
Versuch mal so:
{\time 4/4
\override RepeatTie #'details #'note-head-gap = #'-1
\override RepeatTie #'extra-offset = #'( -1.2 . 0)
fis''4\repeatTie }
Liebe Grüsse und frohe Weihnachten :)
Eugenio
-
Danke. Ebenfalls.
Meine dritte Frage kann Niemand beantworten? :)
-
Hallo Dániel
Versuch mal:
\version "2.18.2"
mI = \relative c'' {
R1*4\break
\repeat volta 2 {
c4 c c c~
}
\alternative {
{ c c c c }
{ c\repeatTie c c c }
}
}
mII = \relative c'' {
R1*4
\repeat volta 2 {
c4 c c c
}
\alternative {
{ c c c c }
{ c c c c }
}
}
ossia = \relative c'' {
\stopStaff
\omit Staff.Clef
\omit Staff.TimeSignature
s1 s s
\startStaff
\undo\omit Staff.Clef
\undo\omit Staff.TimeSignature
\set Staff.forceClef = ##t
\once\override Staff.Clef.full-size-change = ##t
\clef G
c4 c c c
\repeat volta 2 {
c c c c
}
\alternative {
{ c4 c c c }
{ c4 c c c }
}
}
\score {
<<
\new ChoirStaff <<
\new Staff \mI
\new Staff \with { \consists "Volta_engraver" } \mII
>>
\new Staff \with {
% \remove "Time_signature_engraver"
alignAboveContext = #"main"
fontSize = #-3
\override StaffSymbol.staff-space = #(magstep -3)
\override StaffSymbol.thickness = #(magstep -3)
% firstClef = ##f
} \ossia
>>
}
Gruß
Pierre