X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=Documentation%2Fsnippets%2Fjazz-combo-template.ly;h=f16a6970a096de589dc179f06367173af20cce80;hb=38d60f8d090d915c34f5d4e6361bf86e75858f0d;hp=d63f9cc11c328e4a534aedb35173628317bdbe91;hpb=34607d3e36a93030690ccd780a7ffce621ca1e0f;p=lilypond.git diff --git a/Documentation/snippets/jazz-combo-template.ly b/Documentation/snippets/jazz-combo-template.ly index d63f9cc11c..f16a6970a0 100644 --- a/Documentation/snippets/jazz-combo-template.ly +++ b/Documentation/snippets/jazz-combo-template.ly @@ -1,58 +1,14 @@ -%% 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.15.2" +% 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 { -%% Translation of GIT committish: 4077120c18ac1dc490501b3d7d5886bc93e61a42 - texidocit = " -Ecco un modello piuttosto complesso, per un gruppo jazz. Si noti che tutti -gli strumenti sono in @code{\\key c \\major}. Si tratta della tonalità -in intonazione reale; la tonalità sarà automaticamente trasposta se la -musica si trova all'interno di una sezione @code{\\transpose}. - -" - doctitleit = "Modello per combo jazz" - - lsrtags = "keyboards, percussion, fretted-strings, template" - - -%% Translation of GIT committish: 615cbf212fdaf0b220b3330da417d0c3602494f2 - 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 @@ -74,25 +30,29 @@ music is within a @code{\\transpose} section. \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. @@ -116,7 +76,6 @@ trpHarmony = \transpose c' d { } trumpet = { \global - \set Staff.instrumentName = #"Trumpet" \clef treble << \trpt @@ -133,7 +92,6 @@ altoHarmony = \transpose c' a { } altoSax = { \global - \set Staff.instrumentName = #"Alto Sax" \clef treble << \alto @@ -154,7 +112,6 @@ bariHarmony = \transpose c' a \chordmode { } bariSax = { \global - \set Staff.instrumentName = #"Bari Sax" \clef treble << \bari @@ -171,7 +128,6 @@ tboneHarmony = \chordmode { } trombone = { \global - \set Staff.instrumentName = #"Trombone" \clef bass << \tbone @@ -195,7 +151,6 @@ gtrHarmony = \chordmode { } guitar = { \global - \set Staff.instrumentName = #"Guitar" \clef treble << \gtr @@ -228,7 +183,6 @@ lhLower = \relative c { PianoRH = { \clef treble \global - \set Staff.midiInstrument = #"acoustic grand" << \new Voice = "one" \rhUpper \new Voice = "two" \rhLower @@ -237,7 +191,6 @@ PianoRH = { PianoLH = { \clef bass \global - \set Staff.midiInstrument = #"acoustic grand" << \new Voice = "one" \lhUpper \new Voice = "two" \lhLower @@ -246,7 +199,6 @@ PianoLH = { piano = { << - \set PianoStaff.instrumentName = #"Piano" \new Staff = "upper" \PianoRH \new Staff = "lower" \PianoLH >> @@ -259,7 +211,6 @@ Bass = \relative c { } bass = { \global - \set Staff.instrumentName = #"Bass" \clef bass << \Bass @@ -283,7 +234,6 @@ down = \drummode { drumContents = { \global << - \set DrumStaff.instrumentName = #"Drums" \new DrumVoice \up \new DrumVoice \down >> @@ -294,30 +244,41 @@ drumContents = { \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 { } } -