From de842c40f92d0b3dfe0a0a2fc8746b661b93f7e5 Mon Sep 17 00:00:00 2001 From: Till Paala Date: Thu, 20 Sep 2007 21:01:22 +0300 Subject: [PATCH] Translation of more files to German Translation of notation-appendices.itely, scheme-tutorial.itely, templates.itely (the completion of the appendix) to German --- .../de/user/notation-appendices.itely | 213 ++- Documentation/de/user/scheme-tutorial.itely | 218 ++- Documentation/de/user/templates.itely | 1537 ++++++++++++++++- 3 files changed, 1909 insertions(+), 59 deletions(-) diff --git a/Documentation/de/user/notation-appendices.itely b/Documentation/de/user/notation-appendices.itely index afde3b93fc..ffc00add83 100644 --- a/Documentation/de/user/notation-appendices.itely +++ b/Documentation/de/user/notation-appendices.itely @@ -1,57 +1,228 @@ -@c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- +@c -*- coding: utf-8; mode: texinfo; -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: 57271e99d4571e2bda7e3991d4050b59519028c0 - + Translation of GIT committish: 2ae5726ea4fcbcd40e42678db32d7da3227ef44a When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore - @node Notation manual tables @appendix Notation manual tables -UNTRANSLATED NODE: IGNORE ME +@menu +* Chord name chart:: +* MIDI instruments:: +* List of colors:: +* The Feta font:: +* Note head styles:: +@end menu -@menu -* Chord name chart:: -* MIDI instruments:: -* List of colors:: -* The Feta font:: -* Note head styles:: -@end menu @node Chord name chart @appendixsec Chord name chart -UNTRANSLATED NODE: IGNORE ME +Die Tabelle zeigt die zwei üblichen Möglichkeiten, wie Akkordbezeichnungen +ausgegeben werden. Es wird auch die entsprechende Note ausgegeben. + +@lilypondfile{chord-names-jazz.ly} @node MIDI instruments @appendixsec MIDI instruments -UNTRANSLATED NODE: IGNORE ME +Hier eine Liste von Musikinstrumentenbezeichnungen, die als Name für +@code{midiInstrument} benutzt werden können. +@c Todo: translate music instrument's names to German + +@cindex MIDI-Instrumentenbezeichnungen + +@example +acoustic grand contrabass lead 7 (fifths) +bright acoustic tremolo strings lead 8 (bass+lead) +electric grand pizzicato strings pad 1 (new age) +honky-tonk orchestral strings pad 2 (warm) +electric piano 1 timpani pad 3 (polysynth) +electric piano 2 string ensemble 1 pad 4 (choir) +harpsichord string ensemble 2 pad 5 (bowed) +clav synthstrings 1 pad 6 (metallic) +celesta synthstrings 2 pad 7 (halo) +glockenspiel choir aahs pad 8 (sweep) +music box voice oohs fx 1 (rain) +vibraphone synth voice fx 2 (soundtrack) +marimba orchestra hit fx 3 (crystal) +xylophone trumpet fx 4 (atmosphere) +tubular bells trombone fx 5 (brightness) +dulcimer tuba fx 6 (goblins) +drawbar organ muted trumpet fx 7 (echoes) +percussive organ french horn fx 8 (sci-fi) +rock organ brass section sitar +church organ synthbrass 1 banjo +reed organ synthbrass 2 shamisen +accordion soprano sax koto +harmonica alto sax kalimba +concertina tenor sax bagpipe +acoustic guitar (nylon) baritone sax fiddle +acoustic guitar (steel) oboe shanai +electric guitar (jazz) english horn tinkle bell +electric guitar (clean) bassoon agogo +electric guitar (muted) clarinet steel drums +overdriven guitar piccolo woodblock +distorted guitar flute taiko drum +guitar harmonics recorder melodic tom +acoustic bass pan flute synth drum +electric bass (finger) blown bottle reverse cymbal +electric bass (pick) shakuhachi guitar fret noise +fretless bass whistle breath noise +slap bass 1 ocarina seashore +slap bass 2 lead 1 (square) bird tweet +synth bass 1 lead 2 (sawtooth) telephone ring +synth bass 2 lead 3 (calliope) helicopter +violin lead 4 (chiff) applause +viola lead 5 (charang) gunshot +cello lead 6 (voice) +@end example + @node List of colors @appendixsec List of colors -UNTRANSLATED NODE: IGNORE ME - @subsubheading Normal colors + +Die Syntax zur Benutzung findet sich im Abschnitt @ref{Coloring objects}. + +@cindex Liste der Farben +@cindex Farben, Liste + +@verbatim +black white red green +blue cyan magenta yellow +grey darkred darkgreen darkblue +darkcyan darkmagenta darkyellow +@end verbatim + + @subsubheading X color names + +X-Farbbezeichnungen haben verschiedene Varianten: + +Alle Bezeichnungen, die als einziges Wort mit Großbuchstaben +geschrieben werden (bspw. @q{LightSlateBlue}), können auch +von Leerzeichen getrennt geschrieben werden +(also @q{light slate blue}). + +Das Wort @q{grey} kann in jedem Fall auch @q{gray} geschrieben +werden (bspw. @q{DarkSlateGray}). + +Manche Bezeichnungen können auch ein numerales Suffix tragen +(etwa @q{LightSalmon4}). + + @subsubheading Color Names without a numerical suffix: + +@verbatim +snow GhostWhite WhiteSmoke gainsboro FloralWhite +OldLace linen AntiqueWhite PapayaWhip BlanchedAlmond +bisque PeachPuff NavajoWhite moccasin cornsilk +ivory LemonChiffon seashell honeydew MintCream +azure AliceBlue lavender LavenderBlush MistyRose +white black DarkSlateGrey DimGrey SlateGrey +LightSlateGrey grey LightGrey MidnightBlue navy +NavyBlue CornflowerBlue DarkSlateBlue SlateBlue MediumSlateBlue +LightSlateBlue MediumBlue RoyalBlue blue DodgerBlue +DeepSkyBlue SkyBlue LightSkyBlue SteelBlue LightSteelBlue +LightBlue PowderBlue PaleTurquoise DarkTurquoise MediumTurquoise +turquoise cyan LightCyan CadetBlue MediumAquamarine +aquamarine DarkGreen DarkOliveGreen DarkSeaGreen SeaGreen +MediumSeaGreen LightSeaGreen PaleGreen SpringGreen LawnGreen +green chartreuse MediumSpringGreen GreenYellow LimeGreen +YellowGreen ForestGreen OliveDrab DarkKhaki khaki +PaleGoldenrod LightGoldenrodYellow LightYellow yellow gold +LightGoldenrod goldenrod DarkGoldenrod RosyBrown IndianRed +SaddleBrown sienna peru burlywood beige +wheat SandyBrown tan chocolate firebrick +brown DarkSalmon salmon LightSalmon orange +DarkOrange coral LightCoral tomato OrangeRed +red HotPink DeepPink pink LightPink +PaleVioletRed maroon MediumVioletRed VioletRed magenta +violet plum orchid MediumOrchid DarkOrchid +DarkViolet BlueViolet purple MediumPurple thistle +DarkGrey DarkBlue DarkCyan DarkMagenta DarkRed +LightGreen +@end verbatim + + @subsubheading Color names with a numerical suffix + +Für die folgenden Bezeichnungen kann das Suffix N durch eine +Zahl von 1--4 ersetzt werden. + +@verbatim +snowN seashellN AntiqueWhiteN bisqueN PeachPuffN +NavajoWhiteN LemonChiffonN cornsilkN ivoryN honeydewN +LavenderBlushN MistyRoseN azureN SlateBlueN RoyalBlueN +blueN DodgerBlueN SteelBlueN DeepSkyBlueN SkyBlueN +LightSkyBlueN LightSteelBlueN LightBlueN LightCyanN PaleTurquoiseN +CadetBlueN turquoiseN cyanN aquamarineN DarkSeaGreenN +SeaGreenN PaleGreenN SpringGreenN greenN chartreuseN +OliveDrabN DarkOliveGreenN khakiN LightGoldenrodN LightYellowN +yellowN goldN goldenrodN DarkGoldenrodN RosyBrownN +IndianRedN siennaN burlywoodN wheatN tanN +chocolateN firebrickN brownN salmonN LightSalmonN +orangeN DarkOrangeN coralN tomatoN OrangeRedN +redN DeepPinkN HotPinkN pinkN LightPinkN +PaleVioletRedN maroonN VioletRedN magentaN orchidN +plumN MediumOrchidN DarkOrchidN purpleN MediumPurpleN +thistleN +@end verbatim + + @subsubheading Grey Scale + +Eine Grauskala kann mit der Bezeichnung + +@example +greyN +@end example + +@noindent +erstellt werden, wobei N eine Zahl von 0--100 darstellt. + + @node The Feta font @appendixsec The Feta font -UNTRANSLATED NODE: IGNORE ME +@cindex Feta font +@cindex Font, Feta + +Die folgenden Symbole sind als Emmentaler-Schriftart verfügbar; auf sie +kann direkt zugegriffen werden, indem man die übliche Textbeschriftung +benutzt. @code{\musicglyph} greift direkt auf die Notationsschriftart +zu (bspw. @code{g^\markup @{ +\musicglyph #"scripts.segno" @}}). Siehe auch @ref{Text markup}. + +@lilypondfile[noindent]{font-table.ly} + @node Note head styles @appendixsec Note head styles -UNTRANSLATED NODE: IGNORE ME +@cindex Notenkopfarten +@cindex Arten von Notenköpfen +@cindex Stile, Notenköpfe + +Folgende Stile können zur Darstellung der Notenköpfe verwendet werden: + +@lilypondfile[noindent]{note-head-style.ly} + +@ignore +@n ode All context properties +@a ppendixsec All context properties +@i nclude context-properties.tely --- SKELETON FILE -- -When you actually translate this file, please remove these lines as -well as all `UNTRANSLATED NODE: IGNORE ME' lines. + +@n ode Layout properties +@ap pendixsec Layout properties + +@in clude layout-properties.tely + +@end ignore diff --git a/Documentation/de/user/scheme-tutorial.itely b/Documentation/de/user/scheme-tutorial.itely index c912d78eb2..3777318ace 100644 --- a/Documentation/de/user/scheme-tutorial.itely +++ b/Documentation/de/user/scheme-tutorial.itely @@ -1,20 +1,222 @@ -@c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- +@c -*- coding: utf-8; mode: texinfo; -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: 57271e99d4571e2bda7e3991d4050b59519028c0 - + Translation of GIT committish: FILL-IN-HEAD-COMMITTISH When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore - @node Scheme tutorial @appendix Scheme tutorial -UNTRANSLATED NODE: IGNORE ME +@funindex # +@cindex Scheme +@cindex GUILE +@cindex Scheme, in-line code +@c @cindex accessing Scheme +@c @cindex evaluating Scheme +@cindex LISP + +LilyPond verwendet die Scheme-Programmiersprache sowohl als Teil +der Eingabesyntax als auch als internen Mechanismus, um Programmmodule +zusammenzufügen. Dieser Abschnitt ist ein sehr kurzer Überblick über +die Dateneingabe mit Scheme. Wenn Sie mehr über Scheme wissen wollen, +gehen Sie zu @uref{http://@/www@/.schemers@/.org}. + +Das Grundlegendste an einer Sprache sind Daten: Zahlen, Zeichen, +Zeichenketten, Listen usw. Hier ist eine Liste der Datentypen, die für +LilyPond-Eingabedateien relevant sind. + +@table @asis +@item Boolesche Variablen +Werte einer Booleschen Variable sind Wahr oder Falsch. Die Scheme-Entsprechung +für Wahr ist @code{#t} und für Falsch @code{#f}. +@funindex ##t +@funindex ##f + +@item Zahlen +Zahlen werden wie üblich eingegeben, @code{1} ist die (integre) +Zahl Eins, während @code{-1.5} ist eine Gleitkommazahl (also +eine nicht-integre). + +@item Zeichenketten +Zeichenketten werden in doppelte Anführungszeichen gesetzt: + +@example +"Das ist eine Zeichenkette" +@end example + +Zeichenketten können über mehrere Zeilen reichen: + +@example +"Das +ist +eine Zeichenkette" +@end example + +Anführungszeichen und neue Zeilen können auch mit sogenannten +Fluchtsequenzen eingefügt werden. Die Zeichenkette +@code{a sagt "b"} wird wie folgt eingegeben: + +@example +"a sagt \"b\"" +@end example + +Neue Zeilen und Backslashe werden mit @code{\n} bzw. @code{\\} +eingegeben. +@end table + +In einer Notationsdatei werden kleine Scheme-Abschnitte mit der +Raute (@code{#}) eingeleitet. Die vorigen Beispiele heißen also in +LilyPond: + +@example +##t ##f +#1 #-1.5 +#"Das ist eine Zeichenkette" +#"Das +ist +eine Zeichenkette" +@end example + +Für den Rest dieses Abschnitts nehmen wir an, dass die Daten immer in +einer LilyPond-Datei stehen, darum wird immer die Raute verwendet. + +Scheme kann verwendet werden, um Berechnungen durchzuführen. Es +verwendet eine @emph{Präfix}-Syntax. Um 1 und@tie{}2 zu addieren, muss +man @code{(+ 1 2)} schreiben, und nicht @math{1+2}, wie in tranditioneller +Mathematik. + +@lisp +#(+ 1 2) + @result{} #3 +@end lisp + +Der Pfeil @result{} zeigt an, dass das Ergebnis der Auswertung von +@code{(+ 1 2)} @code{3}@tie{}ist. Berechnungen können geschachtelt +werden und das Ergebnis einer Berechnung kann für eine neue +Berechnung eingesetzt werden. + +@lisp +#(+ 1 (* 3 4)) + @result{} #(+ 1 12) + @result{} #13 +@end lisp + +Diese Berechnungen sind Beispiele von Auswertungen. Ein Ausdruck +wie @code{(* 3 4)} wird durch seinen Wert @code{12} ersetzt. Ähnlich +verhält es sich mit Variablen. Nachdem eine Variable definiert ist: + +@example +twelve = #12 +@end example + +@noindent +kann man sie in Ausdrücken weiterverwenden: + +@example +twentyFour = #(* 2 twelve) +@end example + +@noindent +Die 24 wird in der Variablen @code{twentyFour} gespeichert. +Die gleiche Zuweisung kann auch vollständig in Scheme geschrieben +werden: + +@example +#(define twentyFour (* 2 twelve)) +@end example + +Der @emph{Name} einer Variable ist auch ein Ausdruck, genauso wie +eine Zahl oder eine Zeichenkette. Er wird wie folgt eingegeben: + +@example +#'twentyFour +@end example + +@funindex #'symbol +@cindex Zitieren in Scheme + +Das Apostroph @code{'} verhindert, dass bei der Scheme-Auswertung + @code{twentyFour} durch @code{24} ersetzt wird. Anstatt dessen erhalten + wir die Bezeichnung @code{twentyFour}. + +Diese Syntax wird sehr oft verwendet, weil es manche +Einstellungsveränderungen erfordern, dass Scheme-Werte einer +internen Variable zugewiesen werden, wie etwa + +@example +\override Stem #'thickness = #2.6 +@end example + +Diese Anweisung verändert die Erscheinung der Notenhälse. Der Wert +@code{2.6} wird der Variable @code{thickness} (Dicke) eines +@code{Stem}-(Hals)-Ojektes gleichgesetzt. +@code{thickness} wird realtiv zu den Notenlinien errechnet, in diesem +Fall sind die Hälse also 2,6 mal so dick wie die Notenlinien. Dadurch +werden Hälse fast zweimal so dick dargestellt, wie sie normalerweise sind. +Um zwischen Variablen zu unterscheiden, die in den Quelldateien direkt +definiert werden (wie @code{twentyFour} weiter oben), und zwischen denen, +die für interne Objekte zuständig sind, werden hier die ersteren +@qq{Bezeichner} genannt, die letzteren dagegen @qq{Eigenschaften}. +Das Hals-Objekt hat also eine @code{thickness}-Eigenschaft, während +@code{twentyFour} ein Bezeichner ist. + +@cindex Eigenschaften versus Bezeichner +@cindex Bezeichner versus Eigenschaften + +Sowohl zweidimensionale Abstände (X- und Y-Koordinaten) als auch +Größen von Objekten (Intervalle mit linker und rechter Begrenzung) werden +als @code{pairs} (Paare) eingegeben. Ein Paar@footnote{In der +Scheme-Terminologie wird ein Paar @code{cons} genannt und seine +zwei Elemente @code{car} und @code{cdr}.} wird als @code{(erster . zweiter)} +eingegeben und sie müssen mit dem Apostroph eingeleitet werden, genauso +wie Symbole: + +@example +\override TextScript #'extra-offset = #'(1 . 2) +@end example + +Hierdurch wird das Paar (1, 2) mit der Eigenschaft @code{extra-offset} +des TextScript-Objektes verknüpft. Diese Zahlen werden in +Systembreiten gemessen, so dass der Befehl das Objekt eine Systembreite +nach rechts verschiebt und zwei Breiten nach oben. + +Die zwei Elemente eines Paares können von arbiträrem Inhalt sein, etwa + +@example +#'(1 . 2) +#'(#t . #f) +#'("blah-blah" . 3.14159265) +@end example + +Eine Liste wird eingegeben, indem die Elemente der Liste in Klammern +geschrieben werden, mit einem Apostroph davor. Beispielsweise: + +@example +#'(1 2 3) +#'(1 2 "string" #f) +@end example + +Die ganze Zeit wurde hier schon Listen benutzt. Eine Berechnung, +wie @code{(+ 1 2)}, ist auch eine Liste (welche das Symbol @code{+} +und die Nummern 1 und@tie{}2 enthält. Normalerweise werden Listen +als Berechnungen interpretiert und der Scheme-Interpreter ersetzt +die Liste mit dem Ergebnis der Berechnung. Um eine Liste an sich +einzugeben, muss die Auswertung angehalten werden. Das geschieht, +indem der Liste ein Apostroph vorangestellt wird. Für Berechnungen +kann man also den Apostroph nicht verwenden. + +Innerhalb einer zitierten Liste (also mit Apostroph) muss man keine +Anführungszeichen mehr setzen. Im Folgenden ein Symbolpaar, eine +Symbolliste und eine Liste von Listen: + +@example +#'(stem . head) +#'(staff clef key-signature) +#'((1) (2)) +@end example + --- SKELETON FILE -- -When you actually translate this file, please remove these lines as -well as all `UNTRANSLATED NODE: IGNORE ME' lines. diff --git a/Documentation/de/user/templates.itely b/Documentation/de/user/templates.itely index 898e4aff45..a6a3e26191 100644 --- a/Documentation/de/user/templates.itely +++ b/Documentation/de/user/templates.itely @@ -1,81 +1,1558 @@ -@c -*- coding: utf-8; mode: texinfo; documentlanguage: de -*- +@c -*- coding: utf-8; mode: texinfo; -*- @c This file is part of lilypond.tely @ignore - Translation of GIT committish: 57271e99d4571e2bda7e3991d4050b59519028c0 - + Translation of GIT committish: 2ae5726ea4fcbcd40e42678db32d7da3227ef44a When revising a translation, copy the HEAD committish of the version that you are working on. See TRANSLATION for details. @end ignore - @node Templates @appendix Templates -UNTRANSLATED NODE: IGNORE ME - -@menu -* Single staff:: -* Piano templates:: -* String quartet:: -* Vocal ensembles:: -* Ancient notation templates:: -* Jazz combo:: -* Lilypond-book templates:: -@end menu +Dieser Abschnitt des Handbuches enthält Vorlagen, in denen die +LilyPond-Partitur schon eingerichtet ist. Sie müssen nur noch Ihre +Noten einfügen, die Datei mit LilyPond übersetzen und sich an dem +schönen Notenbild erfreuen! + +@c bad node name for ancient notation to avoid confict +@menu +* Single staff:: +* Piano templates:: +* String quartet:: +* Vocal ensembles:: +* Ancient notation templates:: +* Jazz combo:: +* Lilypond-book templates:: +@end menu + + @node Single staff @appendixsec Single staff +@appendixsubsec Notes only -UNTRANSLATED NODE: IGNORE ME +Das erste Beispiel zeigt ein Notensystem mit Noten, passend für ein +Soloinstrument oder ein Melodiefragment. Kopieren Sie es und fügen +Sie es in Ihre Datei ein, schreiben Sie die Noten hinzu, und Sie haben +eine vollständige Notationsdatei. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +melody = \relative c' { + \clef treble + \key c \major + \time 4/4 + + a4 b c d +} + +\score { + \new Staff \melody + \layout { } + \midi {} +} +@end lilypond -@appendixsubsec Notes only @appendixsubsec Notes and lyrics + +Das nächste Beispiel zeigt eine einfache Melodie mit Text. Kopieren +Sie es in Ihre Datei, fügen Sie Noten und Text hinzu und übersetzen +Sie es mit LilyPond. In dem Beispiel wird die automatische +Balkenverbindung ausgeschaltet (mit dem Befehl @code{\autoBeamOff}), +wie es für Vokalmusik üblich ist. +Wenn Sie die Balken wieder einschalten wollen, müssen Sie die +entsprechende Zeile entweder ändern oder auskommentieren. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +melody = \relative c' { + \clef treble + \key c \major + \time 4/4 + + a4 b c d +} + +text = \lyricmode { + Aaa Bee Cee Dee +} + +\score{ + << + \new Voice = "one" { + \autoBeamOff + \melody + } + \new Lyrics \lyricsto "one" \text + >> + \layout { } + \midi { } +} +@end lilypond + @appendixsubsec Notes and chords + +Wollen Sie ein Liedblatt mit Melodie und Akkorden schreiben? Hier ist +das richtige Beispiel für Sie! + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +melody = \relative c' { + \clef treble + \key c \major + \time 4/4 + + f4 e8[ c] d4 g | + a2 ~ a2 | +} + +harmonies = \chordmode { + c4:m f:min7 g:maj c:aug d2:dim b:sus +} + +\score { + << + \new ChordNames { + \set chordChanges = ##t + \harmonies + } + \new Staff \melody + >> + + \layout{ } + \midi { } +} +@end lilypond + @appendixsubsec Notes, lyrics, and chords. + +Mit diesem Beispiel können Sie einen Song mit Melodie, +Text und Akkorden schreiben. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +melody = \relative c' { + \clef treble + \key c \major + \time 4/4 + + a b c d +} + +text = \lyricmode { + Aaa Bee Cee Dee +} + +harmonies = \chordmode { + a2 c2 +} + +\score { + << + \new ChordNames { + \set chordChanges = ##t + \harmonies + } + \new Voice = "one" { + \autoBeamOff + \melody + } + \new Lyrics \lyricsto "one" \text + >> + \layout { } + \midi { } +} +@end lilypond + @node Piano templates @appendixsec Piano templates +@appendixsubsec Solo piano -UNTRANSLATED NODE: IGNORE ME +Hier kommt ein einfaches Klaviersystem. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +upper = \relative c'' { + \clef treble + \key c \major + \time 4/4 + + a b c d +} + +lower = \relative c { + \clef bass + \key c \major + \time 4/4 + + a2 c +} + +\score { + \new PianoStaff << + \set PianoStaff.instrumentName = "Piano " + \new Staff = "upper" \upper + \new Staff = "lower" \lower + >> + \layout { } + \midi { } +} +@end lilypond -@appendixsubsec Solo piano @appendixsubsec Piano and melody with lyrics + +Das nächste Beispiel ist typisch für ein Lied: Im oberen System die +Melodie mit Text, darunter Klavierbegleitung. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +melody = \relative c'' { + \clef treble + \key c \major + \time 4/4 + + a b c d +} + +text = \lyricmode { + Aaa Bee Cee Dee +} + +upper = \relative c'' { + \clef treble + \key c \major + \time 4/4 + + a b c d +} + +lower = \relative c { + \clef bass + \key c \major + \time 4/4 + + a2 c +} + +\score { + << + \new Voice = "mel" { + \autoBeamOff + \melody + } + \new Lyrics \lyricsto mel \text + + \new PianoStaff << + \new Staff = "upper" \upper + \new Staff = "lower" \lower + >> + >> + \layout { + \context { \RemoveEmptyStaffContext } + } + \midi { } +} +@end lilypond + + @appendixsubsec Piano centered lyrics + +Anstatt ein eigenes System für Melodie und Text zu schreiben, können +Sie den Text auch zwischen die beiden Klaviersysteme schreiben +(und damit das zusätzliche System für die Gesangstimme auslassen). + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +upper = \relative c'' { + \clef treble + \key c \major + \time 4/4 + + a b c d +} + +lower = \relative c { + \clef bass + \key c \major + \time 4/4 + + a2 c +} + +text = \lyricmode { + Aaa Bee Cee Dee +} + +\score { + \new GrandStaff << + \new Staff = upper { \new Voice = "singer" \upper } + \new Lyrics \lyricsto "singer" \text + \new Staff = lower { + \clef bass + \lower + } + >> + \layout { + \context { \GrandStaff \accepts "Lyrics" } + \context { \Lyrics \consists "Bar_engraver" } + } + \midi { } +} +@end lilypond + + @appendixsubsec Piano centered dynamics + +In der meisten Klaviernotation werden die Dynamikzeichen zwischen +den beiden Systemen zentriert. Für LilyPond muss man die Einstellungen +etwas anpassen, aber Sie können ja das angepasste Beispiel von hier +kopieren. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +upper = \relative c'' { + \clef treble + \key c \major + \time 4/4 + + a b c d +} + +lower = \relative c { + \clef bass + \key c \major + \time 4/4 + + a2 c +} + +dynamics = { + s2\fff\> s4 + s\!\pp +} + +pedal = { + s2\sustainDown s2\sustainUp +} + +\score { + \new PianoStaff << + \new Staff = "upper" \upper + \new Dynamics = "dynamics" \dynamics + \new Staff = "lower" << + \clef bass + \lower + >> + \new Dynamics = "pedal" \pedal + >> + \layout { + \context { + \type "Engraver_group" + \name Dynamics + \alias Voice % So that \cresc works, for example. + \consists "Output_property_engraver" + + \override VerticalAxisGroup #'minimum-Y-extent = #'(-1 . 1) + \override DynamicLineSpanner #'Y-offset = #0 + pedalSustainStrings = #'("Ped." "*Ped." "*") + pedalUnaCordaStrings = #'("una corda" "" "tre corde") + + \consists "Piano_pedal_engraver" + \consists "Script_engraver" + \consists "Dynamic_engraver" + \consists "Text_engraver" + + \override TextScript #'font-size = #2 + \override TextScript #'font-shape = #'italic + + \consists "Skip_event_swallow_translator" + + \consists "Axis_group_engraver" + } + \context { + \PianoStaff + \accepts Dynamics + } + } +} +\score { + \new PianoStaff << + \new Staff = "upper" << \upper \dynamics >> + \new Staff = "lower" << \lower \dynamics >> + \new Dynamics = "pedal" \pedal + >> + \midi { + \context { + \type "Performer_group" + \name Dynamics + \consists "Piano_pedal_performer" + } + \context { + \PianoStaff + \accepts Dynamics + } + } +} +@end lilypond + + @node String quartet @appendixsec String quartet +@appendixsubsec String quartet -UNTRANSLATED NODE: IGNORE ME +Dieses Beispiel demonstriert die Partitur für ein Streichquartett. Hier +wird auch eine @qq{@code{\global}}-Variable für Taktart und +Vorzeichen benutzt. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" + +global= { + \time 4/4 + \key c \major +} + +violinOne = \new Voice { \relative c''{ + \set Staff.instrumentName = "Violin 1 " + + c2 d e1 + +\bar "|." }} +violinTwo = \new Voice { \relative c''{ + \set Staff.instrumentName = "Violin 2 " + + g2 f e1 + +\bar "|." }} +viola = \new Voice { \relative c' { + \set Staff.instrumentName = "Viola " + \clef alto + + e2 d c1 + +\bar "|." }} +cello = \new Voice { \relative c' { + \set Staff.instrumentName = "Cello " + \clef bass + + c2 b a1 + +\bar "|."}} + +\score { + \new StaffGroup << + \new Staff << \global \violinOne >> + \new Staff << \global \violinTwo >> + \new Staff << \global \viola >> + \new Staff << \global \cello >> + >> + \layout { } + \midi { } +} +@end lilypond -@appendixsubsec String quartet @appendixsubsec String quartet parts + +Mit diesem Beispiel können Sie ein schönes Streichquartett notieren, +aber wie gehen Sie vor, wenn Sie Stimmen brauchen? Das Beispiel +oben hat gezeigt, wie Sie mit Variablen einzelne Abschnitte getrennt +voneinander notieren können. Im nächsten Beispiel wird nun +gezeigt, wie Sie mit diesen Variablen einzelne Stimmen erstellen. + +Sie müssen das Beispiel in einzelne Dateien aufteilen; die Dateinamen +sind in den Kommentaren am Anfang jeder Datei enthalten. @code{piece.ly} +enthält die Noten. Die anderen Dateien -- @code{score.ly}, +@code{vn1.ly}, @code{vn2.ly}, @code{vla.ly} und +@code{vlc.ly} -- erstellen daraus die entsprechenden Stimmen bzw. die +Partitur (@code{score.ly}). Mit @code{\tag} wird den Stimmen ein Name +zugewiesen, auf den zurückgegriffen werden kann. + +@verbatim +%%%%% piece.ly +\version "2.11.23" + +global= { + \time 4/4 + \key c \major +} + +Violinone = \new Voice { \relative c''{ + \set Staff.instrumentName = "Violin 1 " + + c2 d e1 + +\bar "|." }} %********************************* +Violintwo = \new Voice { \relative c''{ + \set Staff.instrumentName = "Violin 2 " + + g2 f e1 + +\bar "|." }} %********************************* +Viola = \new Voice { \relative c' { + \set Staff.instrumentName = "Viola " + \clef alto + + e2 d c1 + +\bar "|." }} %********************************* +Cello = \new Voice { \relative c' { + \set Staff.instrumentName = "Cello " + \clef bass + + c2 b a1 + +\bar "|."}} %********************************** + +music = { + << + \tag #'score \tag #'vn1 \new Staff { << \global \Violinone >> } + \tag #'score \tag #'vn2 \new Staff { << \global \Violintwo>> } + \tag #'score \tag #'vla \new Staff { << \global \Viola>> } + \tag #'score \tag #'vlc \new Staff { << \global \Cello>> } + >> +} + + + +%%%%% score.ly +\version "2.11.23" +\include "piece.ly" +#(set-global-staff-size 14) +\score { + \new StaffGroup \keepWithTag #'score \music + \layout { } + \midi { } +} + + +%%%%% vn1.ly +\version "2.11.23" +\include "piece.ly" +\score { + \keepWithTag #'vn1 \music + \layout { } +} + + +%%%%% vn2.ly +\version "2.11.23" +\include "piece.ly" +\score { + \keepWithTag #'vn2 \music + \layout { } +} + + +%%%%% vla.ly +\version "2.11.23" +\include "piece.ly" +\score { + \keepWithTag #'vla \music + \layout { } +} + + +%%%%% vlc.ly +\version "2.11.23" +\include "piece.ly" +\score { + \keepWithTag #'vlc \music + \layout { } +} +@end verbatim + + @node Vocal ensembles @appendixsec Vocal ensembles -UNTRANSLATED NODE: IGNORE ME - @appendixsubsec SATB vocal score + +Dieses Beispiel ist für vierstimmigen Gesang (SATB). Bei größeren +Stücken ist es oft sinnvoll, eine allgemeine Variable zu bestimmen, +die in allen Stimmen eingefügt wird. Taktart und Vorzeichen etwa +sind fast immer gleich in allen Stimmen. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +global = { + \key c \major + \time 4/4 +} + +sopMusic = \relative c'' { + c4 c c8[( b)] c4 +} +sopWords = \lyricmode { + hi hi hi hi +} + +altoMusic = \relative c' { + e4 f d e +} +altoWords =\lyricmode { + ha ha ha ha +} + +tenorMusic = \relative c' { + g4 a f g +} +tenorWords = \lyricmode { + hu hu hu hu +} + +bassMusic = \relative c { + c4 c g c +} +bassWords = \lyricmode { + ho ho ho ho +} + +\score { + \new ChoirStaff << + \new Lyrics = sopranos { s1 } + \new Staff = women << + \new Voice = + "sopranos" { \voiceOne << \global \sopMusic >> } + \new Voice = + "altos" { \voiceTwo << \global \altoMusic >> } + >> + \new Lyrics = "altos" { s1 } + \new Lyrics = "tenors" { s1 } + \new Staff = men << + \clef bass + \new Voice = + "tenors" { \voiceOne <<\global \tenorMusic >> } + \new Voice = + "basses" { \voiceTwo <<\global \bassMusic >> } + >> + \new Lyrics = basses { s1 } + + \context Lyrics = sopranos \lyricsto sopranos \sopWords + \context Lyrics = altos \lyricsto altos \altoWords + \context Lyrics = tenors \lyricsto tenors \tenorWords + \context Lyrics = basses \lyricsto basses \bassWords + >> + + \layout { + \context { + % a little smaller so lyrics + % can be closer to the staff + \Staff + \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) + } + } +} +@end lilypond + + @appendixsubsec SATB vocal score and automatic piano reduction + +In diesem Beispiel wird ein automatischer Klavierauszug zu der +Chorpartitur hinzugefügt. Das zeigt eine der Stärken von LilyPond +-- man kann eine Variable mehr als einmal benutzen. Wenn Sie +irgendeine Änderung an einer Chorstimme vornehmen, (etwa +tenorMusic), verändert sich auch der Klavierauszug entsprechend. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +global = { + \key c \major + \time 4/4 +} + +sopMusic = \relative c'' { + c4 c c8[( b)] c4 +} +sopWords = \lyricmode { + hi hi hi hi +} + +altoMusic = \relative c' { + e4 f d e +} +altoWords =\lyricmode { + ha ha ha ha +} + +tenorMusic = \relative c' { + g4 a f g +} +tenorWords = \lyricmode { + hu hu hu hu +} + +bassMusic = \relative c { + c4 c g c +} +bassWords = \lyricmode { + ho ho ho ho +} + +\score { + << + \new ChoirStaff << + \new Lyrics = sopranos { s1 } + \new Staff = women << + \new Voice = + "sopranos" { \voiceOne << \global \sopMusic >> } + \new Voice = + "altos" { \voiceTwo << \global \altoMusic >> } + >> + \new Lyrics = "altos" { s1 } + \new Lyrics = "tenors" { s1 } + \new Staff = men << + \clef bass + \new Voice = + "tenors" { \voiceOne <<\global \tenorMusic >> } + \new Voice = + "basses" { \voiceTwo <<\global \bassMusic >> } + >> + \new Lyrics = basses { s1 } + + \context Lyrics = sopranos \lyricsto sopranos \sopWords + \context Lyrics = altos \lyricsto altos \altoWords + \context Lyrics = tenors \lyricsto tenors \tenorWords + \context Lyrics = basses \lyricsto basses \bassWords + >> + \new PianoStaff << + \new Staff << + \set Staff.printPartCombineTexts = ##f + \partcombine + << \global \sopMusic >> + << \global \altoMusic >> + >> + \new Staff << + \clef bass + \set Staff.printPartCombineTexts = ##f + \partcombine + << \global \tenorMusic >> + << \global \bassMusic >> + >> + >> + >> + \layout { + \context { + % a little smaller so lyrics + % can be closer to the staff + \Staff + \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) + } + } +} +@end lilypond + @appendixsubsec SATB with aligned contexts + +In diesem Beispiel werden die Texte mit den Befehlen +@code{alignAboveContext} und @code{alignBelowContext} +über und unter dem System angeordnet. + +@lilypond[quote,verbatim,ragged-right] +\version "2.11.23" +global = { + \key c \major + \time 4/4 +} + +sopMusic = \relative c'' { + c4 c c8[( b)] c4 +} +sopWords = \lyricmode { + hi hi hi hi +} + +altoMusic = \relative c' { + e4 f d e +} +altoWords =\lyricmode { + ha ha ha ha +} + +tenorMusic = \relative c' { + g4 a f g +} +tenorWords = \lyricmode { + hu hu hu hu +} + +bassMusic = \relative c { + c4 c g c +} +bassWords = \lyricmode { + ho ho ho ho +} + +\score { + \new ChoirStaff << + \new Staff = women << + \new Voice = + "sopranos" { \voiceOne << \global \sopMusic >> } + \new Voice = + "altos" { \voiceTwo << \global \altoMusic >> } + >> + \new Lyrics \with {alignAboveContext=women} \lyricsto sopranos \sopWords + \new Lyrics \with {alignBelowContext=women} \lyricsto altos \altoWords +% we could remove the line about this with the line below, since we want +% the alto lyrics to be below the alto Voice anyway. +% \new Lyrics \lyricsto altos \altoWords + + \new Staff = men << + \clef bass + \new Voice = + "tenors" { \voiceOne <<\global \tenorMusic >> } + \new Voice = + "basses" { \voiceTwo <<\global \bassMusic >> } + >> + + \new Lyrics \with {alignAboveContext=men} \lyricsto tenors \tenorWords + \new Lyrics \with {alignBelowContext=men} \lyricsto basses \bassWords +% again, we could replace the line above this with the line below. +% \new Lyrics \lyricsto basses \bassWords + >> + + \layout { + \context { + % a little smaller so lyrics + % can be closer to the staff + \Staff + \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) + } + } +} + + +\score { + \new ChoirStaff << + \new Staff = women << + \new Voice = + "sopranos" { \voiceOne << \global \sopMusic >> } + \new Voice = + "altos" { \voiceTwo << \global \altoMusic >> } + >> + + \new Lyrics \with {alignAboveContext=women} \lyricsto sopranos \sopWords + \new Lyrics \lyricsto altos \altoWords + + \new Staff = men << + \clef bass + \new Voice = + "tenors" { \voiceOne <<\global \tenorMusic >> } + \new Voice = + "basses" { \voiceTwo <<\global \bassMusic >> } + >> + + \new Lyrics \with {alignAboveContext=men} \lyricsto tenors \tenorWords + \new Lyrics \lyricsto basses \bassWords + >> + + \layout { + \context { + % a little smaller so lyrics + % can be closer to the staff + \Staff + \override VerticalAxisGroup #'minimum-Y-extent = #'(-3 . 3) + } + } +} +@end lilypond + + +@c bad node name to avoid node name confict @node Ancient notation templates @appendixsec Ancient notation templates -UNTRANSLATED NODE: IGNORE ME - @appendixsubsec Transcription of mensural music + +Bei der Transkription von Mensuralmusik ist es oft erwünscht, ein +Incipit an den Anfang des Stückes zu stellen, damit klar ist, wie +Tempo und Schlüssel in der Originalnotation gesetzt waren. Während +heutzutage Musiker an Taktlinien gewöhnt sind, um Rhythmen schneller +zu erkennen, wurden diese in der Mensuralmusik nicht verwendet. +Tatsächlich ändern sich die Rhythmen auch oft alle paar Noten. Als +ein Kompromiss werden die Notenlinien nicht auf dem System, sondern +zwischen den Systemen geschrieben. + +@lilypond[quote,verbatim,line-width=11.0\cm] +\version "2.11.23" + +global = { + \set Score.skipBars = ##t + + % incipit + \once \override Score.SystemStartBracket #'transparent = ##t + \override Score.SpacingSpanner #'spacing-increment = #1.0 % tight spacing + \key f \major + \time 2/2 + \once \override Staff.TimeSignature #'style = #'neomensural + \override Voice.NoteHead #'style = #'neomensural + \override Voice.Rest #'style = #'neomensural + \set Staff.printKeyCancellation = ##f + \cadenzaOn % turn off bar lines + \skip 1*10 + \once \override Staff.BarLine #'transparent = ##f + \bar "||" + \skip 1*1 % need this extra \skip such that clef change comes + % after bar line + \bar "" + + % main + \revert Score.SpacingSpanner #'spacing-increment % CHECK: no effect? + \cadenzaOff % turn bar lines on again + \once \override Staff.Clef #'full-size-change = ##t + \set Staff.forceClef = ##t + \key g \major + \time 4/4 + \override Voice.NoteHead #'style = #'default + \override Voice.Rest #'style = #'default + + % FIXME: setting printKeyCancellation back to #t must not + % occur in the first bar after the incipit. Dto. for forceClef. + % Therefore, we need an extra \skip. + \skip 1*1 + \set Staff.printKeyCancellation = ##t + \set Staff.forceClef = ##f + + \skip 1*7 % the actual music + + % let finis bar go through all staves + \override Staff.BarLine #'transparent = ##f + + % finis bar + \bar "|." +} + +discantusNotes = { + \transpose c' c'' { + \set Staff.instrumentName = "Discantus " + + % incipit + \clef "neomensural-c1" + c'1. s2 % two bars + \skip 1*8 % eight bars + \skip 1*1 % one bar + + % main + \clef "treble" + d'2. d'4 | + b e' d'2 | + c'4 e'4.( d'8 c' b | + a4) b a2 | + b4.( c'8 d'4) c'4 | + \once \override NoteHead #'transparent = ##t c'1 | + b\breve | + } +} + +discantusLyrics = \lyricmode { + % incipit + IV- + + % main + Ju -- bi -- | + la -- te De -- | + o, om -- + nis ter -- | + ra, __ om- | + "..." | + -us. | +} + +altusNotes = { + \transpose c' c'' { + \set Staff.instrumentName = "Altus " + + % incipit + \clef "neomensural-c3" + r1 % one bar + f1. s2 % two bars + \skip 1*7 % seven bars + \skip 1*1 % one bar + + % main + \clef "treble" + r2 g2. e4 fis g | % two bars + a2 g4 e | + fis g4.( fis16 e fis4) | + g1 | + \once \override NoteHead #'transparent = ##t g1 | + g\breve | + } +} + +altusLyrics = \lyricmode { + % incipit + IV- + + % main + Ju -- bi -- la -- te | % two bars + De -- o, om -- | + nis ter -- ra, | + "..." | + -us. | +} + +tenorNotes = { + \transpose c' c' { + \set Staff.instrumentName = "Tenor " + + % incipit + \clef "neomensural-c4" + r\longa % four bars + r\breve % two bars + r1 % one bar + c'1. s2 % two bars + \skip 1*1 % one bar + \skip 1*1 % one bar + + % main + \clef "treble_8" + R1 | + R1 | + R1 | + r2 d'2. d'4 b e' | % two bars + \once \override NoteHead #'transparent = ##t e'1 | + d'\breve | + } +} + +tenorLyrics = \lyricmode { + % incipit + IV- + + % main + Ju -- bi -- la -- te | % two bars + "..." | + -us. | +} + +bassusNotes = { + \transpose c' c' { + \set Staff.instrumentName = "Bassus " + + % incipit + \clef "bass" + r\maxima % eight bars + f1. s2 % two bars + \skip 1*1 % one bar + + % main + \clef "bass" + R1 | + R1 | + R1 | + R1 | + g2. e4 | + \once \override NoteHead #'transparent = ##t e1 | + g\breve | + } +} + +bassusLyrics = \lyricmode { + % incipit + IV- + + % main + Ju -- bi- | + "..." | + -us. | +} + +\score { + \new StaffGroup = choirStaff << + \new Voice = + "discantusNotes" << \global \discantusNotes >> + \new Lyrics = + "discantusLyrics" \lyricsto discantusNotes { \discantusLyrics } + \new Voice = + "altusNotes" << \global \altusNotes >> + \new Lyrics = + "altusLyrics" \lyricsto altusNotes { \altusLyrics } + \new Voice = + "tenorNotes" << \global \tenorNotes >> + \new Lyrics = + "tenorLyrics" \lyricsto tenorNotes { \tenorLyrics } + \new Voice = + "bassusNotes" << \global \bassusNotes >> + \new Lyrics = + "bassusLyrics" \lyricsto bassusNotes { \bassusLyrics } + >> + \layout { + \context { + \Score + + % no bars in staves + \override BarLine #'transparent = ##t + + % incipit should not start with a start delimiter + \remove "System_start_delimiter_engraver" + } + \context { + \Voice + + % no slurs + \override Slur #'transparent = ##t + + % Comment in the below "\remove" command to allow line + % breaking also at those barlines where a note overlaps + % into the next bar. The command is commented out in this + % short example score, but especially for large scores, you + % will typically yield better line breaking and thus improve + % overall spacing if you comment in the following command. + %\remove "Forbid_line_break_engraver" + } + } +} +@end lilypond + + @appendixsubsec Gregorian transcription template + +Dieses Beispiel zeigt eine moderne Transkription des Gregorianischen +Chorals. Hier gibt es keine Takte, keine Notenhälse und es werden nur +halbe und Viertelnoten verwendet. Zusätzliche Zeichen zeigen die +Länge von Pausen an. + +@lilypond[quote,verbatim,ragged-right] +\include "gregorian-init.ly" +\version "2.11.23" + +chant = \relative c' { + \set Score.timing = ##f + f4 a2 \divisioMinima + g4 b a2 f2 \divisioMaior + g4( f) f( g) a2 \finalis +} + +verba = \lyricmode { + Lo -- rem ip -- sum do -- lor sit a -- met +} + +\score { + \new Staff << + \new Voice = "melody" { + \chant + } + \new Lyrics = "one" \lyricsto melody \verba + >> + + \layout { + \context { + \Staff + \remove "Time_signature_engraver" + \remove "Bar_engraver" + \override Stem #'transparent = ##t + } + \context { + \Voice + \override Stem #'length = #0 + } + \context { + \Score + barAlways = ##t + } + } +} +@end lilypond + + @node Jazz combo @appendixsec Jazz combo -UNTRANSLATED NODE: IGNORE ME +Hier ist ein ziemlich kompliziertes Beispiel für ein Jazz-Ensemble. Achtung: +Alle Instrumente sind in @code{\key c \major} (C-Dur) notiert. Das bezieht sich +auf die klingende Musik: LilyPond transponiert die Tonart automatisch, wenn +sich die Noten innerhalb eines @code{\transpose}-Abschnitts befinden. + +@c TODO must clean up this jazz combo example +@c - transpositions stated in names (ie "trumpet in Bb" or whatever) +@c - one global section, instead of "global" (time) and "key" +@c - does it need those wierd macros? sl, nsl, etc. +@c - maybe ask Amelie Zapf to clean it up, or whether I should just +@c make whatever changes I feel like. + +@c FIXME: produces a warning ; key change merge. +@c The `line-width' argument is for the \header. + +@lilypond[quote,verbatim,ragged-right,line-width] +\version "2.11.23" +\header { + title = "Song" + subtitle = "(tune)" + composer = "Me" + meter = "moderato" + piece = "Swing" + tagline = \markup { + \column { + "LilyPond example file by Amelie Zapf," + "Berlin 07/07/2003" + } + } + texidoc = "Jazz tune for combo + (horns, guitar, piano, bass, drums)." +} + +#(set-global-staff-size 16) +\include "english.ly" + +%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%% + +sl = { + \override NoteHead #'style = #'slash + \override Stem #'transparent = ##t +} +nsl = { + \revert NoteHead #'style + \revert Stem #'transparent +} +cr = \override NoteHead #'style = #'cross +ncr = \revert NoteHead #'style + +%% insert chord name style stuff here. + +jzchords = { } + + +%%%%%%%%%%%% Keys'n'thangs %%%%%%%%%%%%%%%%% + +global = { + \time 4/4 +} + +Key = { \key c \major } + +% ############ Horns ############ + +% ------ Trumpet ------ +trpt = \transpose c d \relative c'' { + \Key + c1 c c +} +trpharmony = \transpose c' d { + \jzchords +} +trumpet = { + \global + \set Staff.instrumentName = #"Trumpet" + \clef treble + << + \trpt + >> +} + +% ------ Alto Saxophone ------ +alto = \transpose c a \relative c' { + \Key + c1 c c +} +altoharmony = \transpose c' a { + \jzchords +} +altosax = { + \global + \set Staff.instrumentName = #"Alto Sax" + \clef treble + << + \alto + >> +} + +% ------ Baritone Saxophone ------ +bari = \transpose c a' \relative c { + \Key + c1 c \sl d4^"Solo" d d d \nsl +} +bariharmony = \transpose c' a \chordmode { + \jzchords s1 s d2:maj e:m7 +} +barisax = { + \global + \set Staff.instrumentName = #"Bari Sax" + \clef treble + << + \bari + >> +} + +% ------ Trombone ------ +tbone = \relative c { + \Key + c1 c c +} +tboneharmony = \chordmode { + \jzchords +} +trombone = { + \global + \set Staff.instrumentName = #"Trombone" + \clef bass + << + \tbone + >> +} + +% ############ Rhythm Section ############# + +% ------ Guitar ------ +gtr = \relative c'' { + \Key + c1 \sl b4 b b b \nsl c1 +} +gtrharmony = \chordmode { + \jzchords + s1 c2:min7+ d2:maj9 +} +guitar = { + \global + \set Staff.instrumentName = #"Guitar" + \clef treble + << + \gtr + >> +} + +%% ------ Piano ------ +rhUpper = \relative c'' { + \voiceOne + \Key + c1 c c +} +rhLower = \relative c' { + \voiceTwo + \Key + e1 e e +} + +lhUpper = \relative c' { + \voiceOne + \Key + g1 g g +} +lhLower = \relative c { + \voiceTwo + \Key + c1 c c +} + +PianoRH = { + \clef treble + \global + \set Staff.midiInstrument = "acoustic grand" + << + \new Voice = "one" \rhUpper + \new Voice = "two" \rhLower + >> +} +PianoLH = { + \clef bass + \global + \set Staff.midiInstrument = "acoustic grand" + << + \new Voice = "one" \lhUpper + \new Voice = "two" \lhLower + >> +} + +piano = { + << + \set PianoStaff.instrumentName = #"Piano" + \new Staff = "upper" \PianoRH + \new Staff = "lower" \PianoLH + >> +} + +% ------ Bass Guitar ------ +Bass = \relative c { + \Key + c1 c c +} +bass = { + \global + \set Staff.instrumentName = #"Bass" + \clef bass + << + \Bass + >> +} + +% ------ Drums ------ +up = \drummode { + hh4 4 hh hh 4 + hh4 4 + hh4 4 + hh4 4 +} + +down = \drummode { + bd4 s bd s bd s bd s bd s bd s +} + +drumContents = { + \global + << + \set DrumStaff.instrumentName = #"Drums" + \new DrumVoice { \voiceOne \up } + \new DrumVoice { \voiceTwo \down } + >> +} + +%%%%%%%%% It All Goes Together Here %%%%%%%%%%%%%%%%%%%%%% + +\score { + << + \new StaffGroup = "horns" << + \new Staff = "trumpet" \trumpet + \new Staff = "altosax" \altosax + \new ChordNames = "barichords" \bariharmony + \new Staff = "barisax" \barisax + \new Staff = "trombone" \trombone + >> + + \new StaffGroup = "rhythm" << + \new ChordNames = "chords" \gtrharmony + \new Staff = "guitar" \guitar + \new PianoStaff = "piano" \piano + \new Staff = "bass" \bass + \new DrumStaff { \drumContents } + >> + >> + + \layout { + \context { \RemoveEmptyStaffContext } + \context { + \Score + \override BarNumber #'padding = #3 + \override RehearsalMark #'padding = #2 + skipBars = ##t + } + } + + \midi { } +} +@end lilypond + +@ignore + +This isn't very useful, and only duplicates material in +"global issues". And if this info changes, this section often +gets forgotten. + +@no de Other templates +@se ction Other templates +@su bsection All headers + +This template displays all available headers. Some of them are only +used in the Mutopia project; they don't affect the printed output at +all. They are used if you want the piece to be listed with different +information in the Mutopia database than you wish to have printed on the +music. For example, Mutopia lists the composer of the famous D major +violin concerto as TchaikovskyPI, whereas perhaps you wish to print +"Petr Tchaikowski" on your music. + +@ The `line-width' is for \header. +@li lypond[quote,verbatim,ragged-right,line-width] +\version "2.11.23" +\header { + dedication = "dedication" + title = "Title" + subtitle = "Subtitle" + subsubtitle = "Subsubtitle" + composer = "Composer (xxxx-yyyy)" + opus = "Opus 0" + piece = "Piece I" + meter = "meter" + instrument = "Instrument" + arranger = "Arranger" + poet = "Poet" + texttranslator = "Translator" + copyright = "public domain" + + % These are headers used by the Mutopia Project + % http://www.mutopiaproject.org/ + mutopiatitle = "" + mutopiacomposer = "" + mutopiapoet = "" + mutopiainstrument = "" + date = "composer's dates" + source = "urtext " + maintainer = "your name here" + maintainerEmail = "your email here" + maintainerWeb = "your home page" + lastupdated = "2004/Aug/26" +} + +\score { + { c'4 } + \header { + piece = "piece1" + opus = "opus1" + } +} + +\score { + { c'4 } + \header { + piece = "piece2" + opus = "opus2" + } +} +@end lilypond +@end ignore + @node Lilypond-book templates @appendixsec Lilypond-book templates -UNTRANSLATED NODE: IGNORE ME +Diese Vorlagen können mit @code{lilypond-book} benutzt werden. Wenn +Sie dieses Programm noch nicht kennen, lesen Sie bitte den Abschnitt +@rprogram{LilyPond-book}. @appendixsubsec LaTeX + +LilyPond-Noten können in LaTeX-Dokumente eingefügt werden. + +@example +\documentclass[]@{article@} + +\begin@{document@} + +Normaler LaTeX-Ttext. + +\begin@{lilypond@} +\relative c'' @{ +a4 b c d +@} +\end@{lilypond@} + +Weiterer LaTeX-Text. + +\begin@{lilypond@} +\relative c'' @{ +d4 c b a +@} +\end@{lilypond@} +\end@{document@} +@end example + @appendixsubsec Texinfo --- SKELETON FILE -- -When you actually translate this file, please remove these lines as -well as all `UNTRANSLATED NODE: IGNORE ME' lines. +LilyPond-Noten können auch in Texinfo eingefügt werden -- dieses +gesamte Handbuch ist in Texinfo geschrieben. + +@example +\input texinfo +@@node Top + +Texinfo-Text + +@@lilypond[verbatim,fragment,ragged-right] +a4 b c d +@@end lilypond + +Weiterer Texinfo-Text + +@@lilypond[verbatim,fragment,ragged-right] +d4 c b a +@@end lilypond + +@@bye +@end example -- 2.39.5