• Willkommen im Forum „Archiviertes Lilypond Forum (2017)“.
 

Dies ist das Archiv des alten Forums (bis März 2017). Das aktuelle Forum ist unter lilypondforum.de zu finden.
This is the archive of the old forum (until March 2017). You can find the current forum at lilypondforum.de.

Hauptmenü

Da capo mit volta 1/2 ohne Wiederholungszeichen

Begonnen von chf, Samstag, 26. Juli 2014, 12:12

Vorheriges Thema - Nächstes Thema

chf

//Liebe Freunde,

das Thema war schon 2008/2009 mal dran.
https://archiv.lilypondforum.de/index.php?topic=195.msg1028#msg1028
Dort habe ich mich bedient, und das Ergebnis könnt ihr sehen.
Gibt es inzwischen (oder findet ihr) eine Möglichkeit, den Doppelstrich auch im Klaviersatz zu ziehen?
Über die damalige Variante sind ja mehrere Versionen hingegangen...
Ich habe mit SpanBar experimentiert, aber ohne jedes Grundwissen...

Gruß
chf




harm6

ZitatGibt es inzwischen (oder findet ihr) eine Möglichkeit, den Doppelstrich auch im Klaviersatz zu ziehen?
Über die damalige Variante sind ja mehrere Versionen hingegangen...

Mit 2.18. und dem neuen bar-line-interface geht das problemlos:


\version "2.18.0"

#(allow-volta-hook "||")

global = {}

voltaOne = \markup { \text \fontsize #2 \italic \bold "FOLGE " }

voltaTwo = \markup { \text \fontsize #2 \italic \bold "FINE" }

upper = \relative c'' {
  \clef treble
  \key f\major
  \time 4/4
  \repeat volta 2 { a8 g d' f,~f e b d~ }
  \alternative {
    {
      \set Score.repeatCommands =  #(list (list 'volta voltaOne))
      d1
      \bar "||"
    }
    {
      \set Score.repeatCommands = #(list '(volta #f) (list 'volta voltaTwo))
      d\repeatTie\fermata
    }
  }
  \bar "||"
}

lower = \relative c {
  \clef bass
  \key f \major
  \time 4/4
   bes4 b8 cis~cis2 a'8 g~g[ fis~] fis2
   <<
     { a8 g~g[ fis~] fis2 }
     \\
     { r2 r4 d,\fermata }
   >>
   \bar "||"
}

dynamics = \new Dynamics {}

\score {       
  \new PianoStaff
    <<
      \new Staff = "1" <<\global \upper >>
      \dynamics
      \new Staff = "2" <<\global \lower >>
    >>
}
         
\layout { 
  \context {
  \Score
  }


Gruß,
  Harm

P.S. png im Anhang