• 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ü

Wie setze ich Text und Symbole in ein unterbrochenes System

Begonnen von amateur, Donnerstag, 20. Januar 2011, 15:36

Vorheriges Thema - Nächstes Thema

amateur

Hallo,
ich versuche mich gerade in Lilypond und habe folgendes Problem:
Ich möchte ein Notensystem an einer Stelle unterbrechen, hier Text und Musiksymbole eingeben und danch mit Schlüssel und Tonart weitermachen.
Dazu unterbreche ich das System mit "\stopStaff     \startStaff" , aber wie setze ich dann hier Text hinein?
So ungefähr soll es aussehen:http://www.fotos.hegewald-duisburg.de/displayimage.php?album=15&pos=-1138
Ich habe es mit \markup versucht, aber dann meckert LP.
Ich wäre froh über Hilfe

kilgore

Hallo amateur, und wilkommen ins Forum!


Du gehst schon auf der richtigen Weise dran!  Am besten hängst du immer ein Code-Beispiel mit dran, damit wir sehen können wo es scheitert. 

Erstmal aber natürlich eine Lösung für dich:


\version "2.12.3"



\relative c' {
  \key f \major
  c1 c1 c1
  \stopStaff
  \once \override TextScript #'extra-offset = #'( 2 . -8 )
  s1^\markup \center-column {
    \line {  \italic "D.S." }
    \line {  \italic "al" }
    \line { \musicglyph #"scripts.coda" }
  }
  \startStaff
  \clef treble
  \key f \major
  c1 c1 c1 \bar "|."
}

amateur

#2
Vielen Dank, das klappt.
Jetzt muss ich aber erstmal verstehen, warum ;-)
Ich lese erstmal weiter

Aber es gibt schon noch Fragen:
- Warum setzt es mir zweimal  "meter"
- wie kann ich einen Schlüssel einfügen.
naja, mühsam ernährt sich das Eichörnchen  :)

% Created on Thu Jan 20 11:44:29 CET 2011
\version "2.12.3"

\header {
title = "WILD CAT BLUES"
composer = "Fats Waller"
  meter = "120"
instrument = "Klarinette in B"
}

\include "deutsch.ly"

staffClarinetInBb = \new Staff {
\time 4/4
\tempo 4 = 120
\set Staff.instrumentName = "Cl"
\set Staff.midiInstrument = "clarinet"
\transposition b
\key c \major
\clef treble
\relative c'' {
% Type notes here
   \partial 4 c'8. a16 
   \repeat volta 2 {
     \times 2/3 { g8 a g } e8. dis16 e8. dis16 e8. d16 \times 2/3  { c8 d c }
     a g~ g2
     g4. a8 c8. d16 e4
     g8 e4 g8~ g2
     r8 f4 d8 h4 h
     a4 as8 g~ g2
     g8. a16 c4 g'8. dis16 e4
     g8. dis16 e8 c r c'4 a8
     \times 2/3 { g8 a g } e8. dis16 e8. dis16 e8. d16 \times 2/3  { c8 d c }
     a g~ g2
     g4. a8 c8. d16 e4
     g8 e4 g8~ g2
     r8 f4 d8 h4 h
     a4 as8 g~ g2
     g8. a16 c4 g'8. dis16 e4
   }
   \alternative {
     { g8. dis16 e8 c r c'4 a8  }
     { g8. dis16 e8 c~ c4 r4 }
   }
   \repeat volta 2 {
     r1
     r1
     r1
     e4 r8 f g8 a4 e8
     g4 fis8 f8~ f2
     e4 r8 f g8 a4 e8
     g4 fis8 f8~ f2
     g8 e4 g8~g4. g8
     a4. a8~ a2
     g4 g8 f4 e8 d4
   }
   \alternative {
     { c2. r4 }
     { c2 r4 c'8. a16}
   }
   \times 2/3 { g8 a g } e8. dis16 e8. dis16 e8. d16 \times 2/3  { c8 d c }
     a g~ g2
     g4. a8 c8. d16 e4
     g8 e4 g8~ g2
     r8 f4 d8 h4 h
     a4 as8 g~ g2
     g8. a16 c4 g'8. dis16 e4
     g8. dis16 e8 c r c'4 a8
     \times 2/3 { g8 a g } e8. dis16 e8. dis16 e8. d16 \times 2/3  { c8 d c }
     a g~ g2
     g4. a8 c8. d16 e4
     g8 e4 g8~ g2
     r8 f4 d8 h4 h
     a4 as8 g~ g2
     g8. a16 c4 g'8. dis16 e4
     g8. dis16 e8 c~ c4 r4 \bar "||" \key f \major
     r1
     r1
     c4 a d2
     c8 a4 d8~ d2
     r8 c4 a8 d4. c8
     e2 d8 c r4
     d4 e fis2
     g8 a4 b8~ b2
     a4 b8 c4 b8 g4
     f2. r4 \bar "||"
     a2 gis g f
     d8 a d e f4. d8
     f8 a4 f8 a4 f
     a2 gis
     g2 f4 r8 a,
     b8. b16 a4 b a
     cis e a2
     a2 gis g f4 r8 f,
     a4 d f4. d8
     a d f d f4 d
     d4 e fis2 g8 a4 b8~ b2
     a4. a8 c4 a8 g4
     f2. r4
     \stopStaff
     \once \override TextScript #'extra-offset = #'( 2 . -8 )
     s1^\markup \center-column
     {
        \line {  \italic "D.S." }
        \line {  \italic "al" }
        \line { \musicglyph #"scripts.coda" }
     }
     \startStaff
     \clef treble
     \key f \major
     a2 as g f
     d4 d f f
     a1\fermata
     
   \bar "|."
}

}


\score {
<<
\staffClarinetInBb
>>

\midi {
}

  \layout {
  }
}

\paper {
}


ding-dong

Zitat- Warum setzt es mir zweimal  "meter"
du hast ja zweimal 120 geschrieben:

im \header { meter = "120"

und

\tempo 4 = 120

amateur


ding-dong

Zitat- wie kann ich einen Schlüssel einfügen.

wenn es eine wiederholung des gleichen schlüssels ist:

\set Staff.forceClef = ##t
\clef treble