-%% DO NOT EDIT this file manually; it is automatically
-%% generated from LSR http://lsr.dsi.unimi.it
-%% Make any changes in LSR itself, or in Documentation/snippets/new/ ,
-%% and then run scripts/auxiliar/makelsr.py
-%%
-%% This file is in the public domain.
-\version "2.13.51"
+% DO NOT EDIT this file manually; it is automatically
+% generated from Documentation/snippets/new
+% Make any changes in Documentation/snippets/new/
+% and then run scripts/auxiliar/makelsr.py
+%
+% This file is in the public domain.
+%% Note: this file works from version 2.19.56
+\version "2.19.56"
\header {
- lsrtags = "keyboards, percussion, fretted-strings, template"
-
-%% Translation of GIT committish: fa19277d20f8ab0397c560eb0e7b814bd804ecec
- texidoces = "
-Ésta es una plantilla bastante avanzada, para un conjunto de
-jazz. Observe que la notación de todos los instrumentos está en
-@code{\\key c \\major} (Do mayor). Esto se refiere al tono de
-concierto; la armadura se transporta automáticamente si la música está
-dentro de una sección @code{\\transpose}.
-
-"
- doctitlees = "Plantilla para combo de jazz"
-
-
-%% Translation of GIT committish: 0a868be38a775ecb1ef935b079000cebbc64de40
- texidocde = "
-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.
-
-"
-
- doctitlede = "Vorlage für Jazz-Combo"
-
-%% Translation of GIT committish: bdfe3dc8175a2d7e9ea0800b5b04cfb68fe58a7a
- texidocfr = "
-Bien que compliqué de prime abord, voici un canevas tout à fait indiqué
-pour les ensembles de jazz. Vous noterez que tous les instruments sont
-notés en ut (@code{\\key c \major}), la tonalité de concert. Les notes
-seront automatiquement transposée dès lors qu'elles seront inscrites
-dans une section @code{\\transpose}.
-
-"
- doctitlefr = "Symboles de jazz"
+ lsrtags = "fretted-strings, keyboards, percussion, real-music, template"
texidoc = "
This is quite an advanced template, for a jazz ensemble. Note that all
\column {
"LilyPond example file by Amelie Zapf,"
"Berlin 07/07/2003"
- }
+ } % begin verbatim
+
}
}
-
+% To make the example display in the documentation
+\paper {
+ paper-width = 130
+}
%#(set-global-staff-size 16)
\include "english.ly"
%%%%%%%%%%%% Some macros %%%%%%%%%%%%%%%%%%%
sl = {
- \override NoteHead #'style = #'slash
- \override Stem #'transparent = ##t
+ \override NoteHead.style = #'slash
+ \hide Stem
}
nsl = {
- \revert NoteHead #'style
- \revert Stem #'transparent
+ \revert NoteHead.style
+ \undo \hide Stem
}
-crOn = \override NoteHead #'style = #'cross
-crOff = \revert NoteHead #'style
+crOn = \override NoteHead.style = #'cross
+crOff = \revert NoteHead.style
%% insert chord name style stuff here.
}
trumpet = {
\global
- \set Staff.instrumentName = #"Trumpet"
\clef treble
<<
\trpt
}
altoSax = {
\global
- \set Staff.instrumentName = #"Alto Sax"
\clef treble
<<
\alto
}
bariSax = {
\global
- \set Staff.instrumentName = #"Bari Sax"
\clef treble
<<
\bari
}
trombone = {
\global
- \set Staff.instrumentName = #"Trombone"
\clef bass
<<
\tbone
}
guitar = {
\global
- \set Staff.instrumentName = #"Guitar"
\clef treble
<<
\gtr
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 = {
\global
- \set Staff.instrumentName = #"Bass"
\clef bass
<<
\Bass
drumContents = {
\global
<<
- \set DrumStaff.instrumentName = #"Drums"
\new DrumVoice \up
\new DrumVoice \down
>>
\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 Staff = "trumpet" \with { instrumentName = #"Trumpet" }
+ \trumpet
+ \new Staff = "altosax" \with { instrumentName = #"Alto Sax" }
+ \altoSax
+ \new ChordNames = "barichords" \with { instrumentName = #"Trumpet" }
+ \bariHarmony
+ \new Staff = "barisax" \with { instrumentName = #"Bari Sax" }
+ \bariSax
+ \new Staff = "trombone" \with { instrumentName = #"Trombone" }
+ \trombone
>>
\new StaffGroup = "rhythm" <<
\new ChordNames = "chords" \gtrHarmony
- \new Staff = "guitar" \guitar
- \new PianoStaff = "piano" \piano
- \new Staff = "bass" \bass
- \new DrumStaff \drumContents
+ \new Staff = "guitar" \with { instrumentName = #"Guitar" }
+ \guitar
+ \new PianoStaff = "piano" \with {
+ instrumentName = #"Piano"
+ midiInstrument = #"acoustic grand"
+ }
+ \piano
+ \new Staff = "bass" \with { instrumentName = #"Bass" }
+ \bass
+ \new DrumStaff \with { instrumentName = #"Drums" }
+ \drumContents
>>
>>
\layout {
\context { \Staff \RemoveEmptyStaves }
\context {
\Score
- \override BarNumber #'padding = #3
- \override RehearsalMark #'padding = #2
+ \override BarNumber.padding = #3
+ \override RehearsalMark.padding = #2
skipBars = ##t
}
}
\midi { }
}
-