Utilisateur:Thierry613/Lilypond

(article vide) modifier

Source



Syntaxe



Code

<score vorbis="1">
{
\clef treble
r1
\bar "|."
}
</score>


Résultat

 




Aide partitions modifier

Documentation modifier


Images modifier


Accord : mode modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/chord-mode


Syntaxe

\chordmode


Code

<score vorbis="1">
{
\clef treble
\chordmode { c2 g f g c1 }
\bar "|."
}
</score>


Résultat

 


Accords : notation modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/learning/combining-notes-into-chords

http://www.lilypond.org/doc/v2.18/Documentation/notation/common-chord-modifiers



Code source

<score vorbis="1">
{
\clef treble
\textLengthOn
 
e''1_"(3ce)"^\markup { \null \raise #1 { \bold  { C \small \raise #1.0 { 7 } } } }
cis''_"(3ce)"^\markup { \null \raise #1 { \bold  { A \small \raise #1.0 { 7 } } } }
c''?_"(7e)"^\markup { \null \raise #1 { \bold  { D m \small \raise #1.0 { 7 } } } }
b'_"(3ce)"^\markup { \null \raise #1 { \bold  { G \small \raise #1.0 { 7 } } } }
b'_"(7e)"^\markup { \null \raise #1 { \bold  { C \small \raise #1.0 { M7 } } } }
 
\bar "|."
}
</score>


Résultat

 



Anacrouse modifier

Source

http://www.lilypond.org/doc/v2.19/Documentation/notation/displaying-rhythms#upbeats


Syntaxe

\partial durée


Code source Résultat
<score vorbis="1">
{
\clef bass
\key g \major 
\time 3/4

\partial 4
g4
c8 d e fis g a b4 c'2

\bar "|."
}
</score>
 



Attribut pour 'score' modifier

https://www.mediawiki.org/wiki/Extension:Score


Syntaxe

<score raw="1">


Explications

raw

0 (default), 1

If set to 1, the score code is interpreted as a complete LilyPond file. Use this option if you want to create more complex scores. If the score language (lang attribute) is not set to lilypond, this attribute is ignored.



Barres de mesures modifier

Source

http://www.lilypond.org/doc/v2.19/Documentation/notation/bars


Syntaxe

\bar 


Code source Résultat
<score vorbis="1">
{
\clef bass

c1	\bar "|"
d	\bar "."
e	\bar "||"
f	\bar ".|"
g	\bar ".."
a	\bar "|.|"
b	\bar "|."

\clef treble

c'	\bar ";"
d'	\bar "!"
e'	\bar ".|:"
f'	\bar ":..:"
g'	\bar ":|.|:"
a'	\bar ":|.:"
b'	\bar ":.|.:"
c''	\bar "[|:"
d''	\bar ":|][|:"
e''	\bar ":|]"
f''	\bar ":|."

\bar "|."
}
</score>
 

Basse chiffrée modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/figured-bass#entering-figured-bass


Code source Résultat
<score vorbis="1">
{
\clef bass

<<
c2.

\figures {
  <7! 6+ 4->4 <5++> <3-->
}
>>

<<
  \new Voice { \clef bass dis4 c d ais g fis}
  \new FiguredBass {
    \figuremode {
      < 6 >4 < 7\+ >8 < 6+ [_!] >
      < 6 >4 <6 5 [3+] >
      < _ >4 < 6 5/>4
    }
  }
>>

r4 r2

<<
  {
    \clef bass
    e4 d c b,
    e4 d c b,
  }
  \figures {
    \bassFigureExtendersOn
    <6 4>4 <6 3> <7 3> <7 3>
    \bassFigureExtendersOff
    <6 4>4 <6 3> <7 3> <7 3>
  }
>>

\bar "|."
}
</score>
 

Découpage automatique des notes modifier

Source

http://www.lilypond.org/doc/v2.19/Documentation/notation/displaying-rhythms#automatic-note-splitting



Syntaxe

\new Voice \with {
\remove "Note_heads_engraver"
\consists "Completion_heads_engraver"
\remove "Rest_engraver"
\consists "Completion_rest_engraver"
}


Code

<score >
{
\clef bass

\new Voice \with {
  \remove "Note_heads_engraver"
  \consists "Completion_heads_engraver"
  \remove "Rest_engraver"
  \consists "Completion_rest_engraver"
}

c2. c8 d4 e f g a b c8 c2 b4 a g16 f4 e d c8. c2 r1*2

}
</score>


Résultat

 



Doigtés modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/inside-the-staff#fingering-instructions


Syntaxe

note-chiffre_du_doigt
Code source Résultat
<score vorbis="1">
{
\clef bass
c4-5 a-3 f-1 c'-5
r1
\bar "|."
}
</score>
 



Glyphes / Signes "spéciaux" modifier

Source

http://www.lilypond.org/doc/v2.19/Documentation/notation/bars#index-musicglyph-1

http://www.lilypond.org/doc/v2.19/Documentation/notation/the-feta-font

http://www.lilypond.org/doc/v2.19/Documentation/notation/bars#bar-and-bar-number-checks



Syntaxe

\musicglyph #"scripts.ufermata"


Code

<score vorbis="1">
{
\clef bass

c \mark \markup { \musicglyph #"clefs.kievan.do" }
<e g> \mark \markup { \musicglyph #"scripts.ufermata" }

c1 \mark \markup { \musicglyph #"scripts.segno" }
c1 \mark \markup { \musicglyph #"scripts.coda" }
c1 \mark \markup { \musicglyph #"scripts.ufermata" }
c1

\bar "|."
}
</score>


Résultat

 




Hampes & ligatures modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/learning/on-the-un_002dnestedness-of-brackets-and-ties

http://lilypond.org/doc/v2.18/Documentation/notation/beams


Syntaxe

  • Type de crochet Fonction
  • { … } Délimite un segment de musique séquentielle
  • < … > Délimite les notes d’un accord
  • << … >> Délimite des sections simultanées
  • ( … ) Marque le début et la fin d’une liaison
  • \( … \) Marque le début et la fin d’une liaison de phrasé
  • [ … ] Marque le début et la fin d’une ligature manuelle

D’autres constructions permettent d’obtenir des lignes regroupant ou en travers des notes : les liaisons de prolongation indiquées par un tilde (~), les marques de nolet avec \times x/y { … }, ou encore les notes d’ornement avec \grace{ … }.

\stemUp
\stemDown
\stemNeutral


Code source Résultat
<score vorbis="1">
{
\clef bass
g8\( a b[ c' b\) a] g4 

a8[ ais] d[ ees r d] c16 b a8

\autoBeamOff
a8 c b4 d8. c16 b4 |
\autoBeamOn
a8 c b4 d8. c16 b4 |

\time 4/4
r4 r8[ g' a r] r8 g[ | a] r

\bar "|."
}
</score>
 


Code source Résultat
<score vorbis="1">
{
\clef bass
\stemUp
g8\(^"Hampes vers le haut" a b[ c' b\) a] g4
\bar "|."
}
</score>
 
<score vorbis="1">
{
\clef bass
\stemDown
g8\(^"Hampes vers le bas" a b[ c' b\) a] g4
\bar "|."
}
</score>
 

Imitation par mouvement contraire modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/changing-multiple-pitches#inversion


Syntaxe

\inversion hauteur-pivot hauteur-arrivée expression_musicale


Code

<score vorbis="1">
{
\clef treble

\relative c' { c8 d e f g a b c }
\inversion c' c' \relative c' { c8^"c'" d e f g a b c }
\inversion c' e' \relative c' { c8^"e'" d e f g a b c }
\inversion c' a' \relative c' { c8^"a'" d e f g a b c }
\inversion c' c'' \relative c' { c8^"c''" d e f g a b c }

\bar "|."
}
</score>


Résultat

 



Imitation par mouvement contraire (inversion modale) modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/changing-multiple-pitches#index-modalInversion-1


Syntaxe

\modalInversion hauteur-pivot hauteur-arrivée gamme motif


Code

<score vorbis="1">
{
\clef bass

{ c8 d e f g a b c' }
\modalInversion g g { c d e f g a b } { c8 d e f g a b c' }

\bar "|."
}
</score>


Résultat

 



Imitation par mouvement rétrograde modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/changing-multiple-pitches#retrograde



Syntaxe

\retrograde


Code

<score vorbis="1">
{
\clef bass
\time 3/4

c4 d8 e f g a2 b4
\retrograde { c4 d8 e f g a2 b4 }

\bar "|."
}
</score>


Résultat

 



Improvisation modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/note-heads#index-improvisationOn-1


Syntaxe

\improvisationOn


Code

<score vorbis="1">
{
\clef bass

\new Voice \with {
  \consists "Pitch_squash_engraver"
} {
  e8 e g a a16( bes) a8 g
  \improvisationOn
  e8 ~
  e2 ~ e8 f4 f8 ~
  f2
  \improvisationOff
  a16( bes) a8 g e
}

\bar "|."
}
</score>


Résultat

 



Instanciation explicite des voix modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/learning/explicitly-instantiating-voices#index-shift_002c-commandes


Syntaxe

Les contextes Voice peuvent être déclarés manuellement dans un bloc << >> pour créer de la musique polyphonique, en utilisant \voiceOne… jusqu’à \voiceFour pour assigner des directions de hampes et un déplacement horizontal pour chaque partie. Cette méthode apporte de la clarté pour des partitions plus importantes puisqu’elle permet de bien séparer les voix et de leur affecter un nom plus parlant.

En particulier, la construction << \\ >> que nous avons vue précédemment :


Code

<score vorbis="1">
{
\new Staff {
  \relative c' {
    << { e4 f g a } \\ { c,4 d e f } >>
  }
}

\new Staff <<
  \new Voice = "1" { \voiceOne \relative c' { e4 f g a } }
  \new Voice = "2" { \voiceTwo \relative c' { c4 d e f } }
>>

\new Staff \relative c' {
  c16^( d e f
  <<
    { g4 f e | d2 e) | }
    \new Voice {
      \voiceTwo
      r8 e4 d c8~ |
      <<
        { c8 b16 a b8 g~ g2 | }
        \new Voice {
          \voiceThree
          s4 b c2 |
        }
      >>
    }
  >>
}

\new Staff \relative c' <<
  % Initiate first voice
  \new Voice {
    \voiceOne
    c16^( d e f g4 f e | d2 e2) |
  }
  % Initiate second voice
  \new Voice {
    % Set stems, etc, down
    \voiceTwo
    s4 r8 e4 d c8 ~ | c8 b16 a b8 g ~ g2 |
  }
  % Initiate third voice
  \new Voice {
    % Set stems, etc, up
    \voiceThree
    s1 | s4 b4 c2 |
  }
>>

\bar "|."
}
</score>


Résultat

 


Instruments MIDI modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/midi-instruments


Syntaxe

\set Staff.midiInstrument = #"glockenspiel"


Code

<score vorbis="1">
{
\clef bass

\set Staff.midiInstrument = #"acoustic bass"
c, e, g, c

\set Staff.midiInstrument = #"electric bass (pick)"
c, e, g, c

\set Staff.midiInstrument = #"acoustic grand"
c, e, g, c

\bar "|."
}
</score>


Résultat

 




Liaisons modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/expressive-marks-as-curves



Syntaxe

Liaison d'articulation
f4( ... a)

Liaisons de phrasé
c4\( ... d\)

Autres liaisons
\tieUp
c\repeatTie
c\laissezVibrer


Code

<score vorbis="1">
{
\clef bass

f4( g a) a8 b(
a4 g2 f4)
<c e>2( <b d>2)

\bar "||"

c4\( d( e) f(
e2) d\)

\bar "|."
}
</score>


Résultat

 



Ligne rythmique modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/displaying-rhythms#showing-melody-rhythms


Syntaxe

\new RhythmicStaff


Code

<score vorbis="1">
\new RhythmicStaff {
\time 4/4

% juste pour les hampes vers le bas
\stemDown

c4 e8 f g2
r4 g g f
g1
\bar "|."
}
</score>


Résultat

 


Métrique modifier

pour enlever le signe de mesure

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/modifying-context-plug_002dins.fr.html


Syntaxe

\new Staff \with { \remove "Time_signature_engraver" }


Code

<score>
{
\new Staff \with { \remove "Time_signature_engraver" }
\clef bass

c4 d e d c4

\bar "|."
}
</score>


Résultat

 



Musique non mesurée modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/displaying-rhythms#unmetered-music


Syntaxe

\cadenzaOn


Code

<score vorbis="1">
{
\clef bass
c4 d e d
\cadenzaOn
c4 c d16[ e f g a g f e d cis d e] f4 g4.
\cadenzaOff
\bar "|"
d4 e d c
}
</score>


Résultat

 



Paroles modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-vocal-music#automatic-syllable-durations



Code

<score vorbis="1">
{
\clef treble
\time 4/4

<<
\new Voice = "melodie" {
a1 a4. a8 a2
\bar "|."
}

\new Lyrics \lyricsto "melodie" {
Ce sont les mots
}
>>

\bar "|."
}
</score>

Résultat

 



Autre exemple

 



Percussion (clef) modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-percussion#basic-percussion-notation


Code

<score vorbis="1">
{
\clef percussion
\time 4/4

c'8 c' \times 2/3{c'8 c' c'  } c'8 c' \times 2/3{c'4 c'8  }
c'8 c' \times 2/3{c'8 c'4  } c'8 c' \times 2/3{r4 c'8  }
c'8 c' \times 2/3{r8 c' c'  } c'8 c' \times 2/3{r8 c'4  }
r8 c' \times 2/3{c'8 c' c'  } r8 c' \times 2/3{c'4 c'8  }
r8 c' \times 2/3{c'8 c'4  } r8 c' \times 2/3{r4 c'8  }

\bar "|."
}
</score>

Résultat

 



Percussion (écriture) modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-percussion http://lilypond.org/doc/v2.18/Documentation/notation/percussion-notes



Syntaxe

\drums { ... }


Code

<score vorbis="1">
\drums {

bd bd 
sn sn 
tommh tomml 
tomfl tomfh

hhc hhc hhc hhc 
hh hh hh hh 
hhp hhp hhp hhp 
\bar "|."
}
</score>


Résultat

 




Portées multiples modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-keyboards


Il y a deux façons de faire :


Code 1

<score vorbis="1">
{

<<
\new Staff {
\clef treble
< e' c'' >1
}

\new Staff {
\clef bass
< c g >1
}
>>

\bar "|."
}
</score>


Résultat 1

 


Code 2

<score vorbis="1">
{
\new PianoStaff
<<

\new Staff = "up" {
\clef treble
< e' c'' >1
}

\new Staff = "down" {
\clef bass
< c g >1
}

>>

\bar "|."
}
</score>


Résultat 2

 



Succession de durées individuelles modifier

Lorsque une note ou un accord est suivi d’une succession de durées individuelles, celles-ci adopteront la ou les dernières hauteurs mentionnées.

(ne fonctionne pas)



Répétitions de mesure modifier

Source

http://lilypond.org/doc/v2.19/Documentation/notation/short-repeats#short-repeats


Syntaxe

\makePercent


Code

<score vorbis="1">
{
\clef bass

\repeat percent 2 { c4 d e f }
\repeat percent 2 { c2 d }
\repeat percent 2 { c1 }

\bar "||"

\break

\clef treble

\relative c'' {
  \set countPercentRepeats = ##t
  \repeat percent 4 { c1 }
}

}
</score>


Résultat

 



Répétitions de motifs modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats#written_002dout-repeats



Syntaxe

\repeat unfold nombre_de_fois { expression_musicale }


Code

<score vorbis="1">
{
\clef treble

\repeat unfold 9 {c'8 d' e' g' a' }
\repeat unfold 9 {c'8[ d' e' g' a'] }
c'

\bar "|."
}
</score>



Résultat

 



Répétitions de sections modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/long-repeats#normal-repeats



Syntaxe

\repeat volta nombre_de_fois expression_musicale


Code

<score vorbis="1">
{
\clef bass

\repeat volta 2 { c4 d e f }
c2 d
\repeat volta 2 { d4 e f g }

\repeat volta 2 { c4 d e f | }
\alternative {
  { c2 e | }
  { f2 g | }
}
c1

}
</score>

<score vorbis="1">
{
\clef bass

\partial 4  % required
\repeat volta 4 {
  e4 |
  c2 e |
  % no \partial here
  g4 g g  % no bar check here
}
% no \partial here
g4 |
a2 a |
g1 |

}
</score>



Résultat

 
 


Silences modifier

Source

http://www.lilypond.org/doc/v2.19/Documentation/notation/writing-rests



Syntaxe

\rest
\compressFullBarRests


Code

<score >
{
\clef bass

a4\rest d4\rest
c4 c s c
s2 c r2
r1
R1
\compressFullBarRests
R1*2
R1*10
R1*15

}
</score>


Résultat

Impossible de compiler le fichier d’entrée LilyPond :

line 10 - column 1:
unknown escaped string: `\compressFullBarRests'
--------
line 10 - column 1:
string outside of text script or \lyricmode



Tablature modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-fretted-strings#index-TabStaff-4

http://www.lilypond.org/doc/v2.18/Documentation/notation/common-notation-for-fretted-strings#default-tablatures



Syntaxe

\new TabStaff


Code

<score vorbis="1">
<<

\relative c' {
\clef bass
  a,8 a' <c e> a
  d,8 a' <d f> a
}

\new TabStaff \relative c' {
  a,8 a' <c e> a
  d,8 a' <d f> a
}

>>
</score>


Résultat

 



Autre exemple

 


Tempo (indications) modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/learning/simple-notation#tempo-marks


Syntaxe

\tempo


Code

<score vorbis="1">
{
\clef treble
\relative c'' {
  \time 3/4
  \tempo "Andante"
  a4 a a
  \time 6/8
  \tempo 4. = 96
  a4. a
  \time 4/4
  \tempo  "Presto" 4 = 120
  a4 a a a
}
r1
\bar "|."
}
</score>


Résultat

 


Têtes de notes en forme de croix modifier

\override NoteHead.style = #'cross 

(ne fonctionne pas)


Texte modifier

Texte de base modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/writing-text


Code

<score vorbis="1">
{
a8^"pizz." g f e a4-"scherz." f

a8^\markup { \italic pizz. } g f e
a4_\markup { \tiny scherz. \bold molto } f

a8^"pizz." g f e
\textLengthOn
a4_"scherzando" f
}
</score>


Résultat

 



Alignement modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/formatting-text#text-alignment



Syntaxe

\mark \markup { \null \translate #'(2 . 2) { ... } }
ou
a^\markup { \null \translate #'(-2 . 2) { ... } }


Code

<score vorbis="1">
{
\clef bass
\textLengthOn

\mark \markup { \null \translate #'(20 . 2) { Basse en rondes } }

d1^\markup { \null \translate #'(-1 . 2) { \note #"4" #1 = \note-by-number #1 #1 #1.5 } }

e^\markup { \null \translate #'(-1 . 3) { 
\note #"4" #1 
\note #"4" #-1 
\note #"4" #0 
\note #"8" #1 
\note #"16" #1
\note #"32" #1 
} }

d^\markup { \raise #1 { \bold { C \small \raise #1.0 { 7 } } } }

g^\markup { \null \translate #'(-1 . 2) { \bold { C \small \raise #1.0 { 7 } } } }

a^\markup { \null \translate #'(-1 . 3) { \bold { C \small \raise #1.0 { 7 } } } }

b^\markup { \null \translate #'(-1 . 4) { \bold { C \small \raise #1.0 { 7 } } } }

a^\markup { \null \translate #'(-2 . 2) { \bold { C \small \raise #1.0 { 7 } } } }

g^\markup { \null \translate #'(-2 . 3) { \bold { C \small \raise #1.0 { 7 } } } }

f^\markup { \null \translate #'(-2 . 4) { \bold { C \small \raise #1.0 { 7 } } } }

e_\markup { \null \translate #'(-2 . -1) { \bold { C \small \raise #1.0 { 7 } } } }

d_\markup { \null \translate #'(-2 . -2) { \bold { C \small \raise #1.0 { 7 } } } }

c_\markup { \null \translate #'(-2 . -3) { \bold { C \small \raise #1.0 { 7 } } } }

\mark \markup { \null \translate #'(1 . 1) { { D.C. } } }

\bar "|."
}
</score>


Résultat


Impossible de compiler le fichier d’entrée LilyPond :

line 8 - column 50:
wrong type for argument 1.  Expecting duration, found "4"



Chiffres modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/writing-text


Code

<score>
{
c'4^\markup { \null \raise #2 { \number 1 } }
}
</score>


Résultat

 




Justification modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/align


Syntaxe

s_\markup {
\fontsize #1.5
\override #'(line-width . 50)
\justify-string #" ... " }


Code

<score vorbis="1">
{
\clef treble

s_\markup {
\fontsize #1.5
\override #'(line-width . 50)
\justify-string #"
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum
" }

\bar "|."
}
</score>


Résultat

 


Mise en forme modifier

Source

http://lilypond.org/doc/v2.18/Documentation/notation/writing-text


Voir aussi

http://lilypond.org/doc/v2.18/Documentation/notation/formatting-text#page-wrapping-text



Syntaxe

\textLengthOn

c4^\markup { \null \raise #2 { \number 2 } }


Code

<score vorbis="1">
\relative c' {
\textLengthOn
c2^"Text1     "
d2^"Text2" |
e2^"Text3"
f2^"Text4" |


c4^\markup { \null \raise #2 { \number 2 } }
}
</score>


Résultat sans

 


Résultat avec

 




Transposition modifier

Source

http://lilypond.org/doc/v2.19/Documentation/source/Documentation/notation/changing-multiple-pitches.fr.html#transpose


Syntaxe

\transpose note_de_départ note_d_arrivée { expression_musicale }


Code source Résultat
<score vorbis="1">
{
\clef treble
\transpose c c' { c8 d e f g a b c' }
\transpose c d' { c8 d e f g a b c' }
\transpose c g' { c8 d e f g a b c' }
\transpose c c' { c8 d e f g a b c' }

\bar "|."
}
</score>
 


Autre exemple

<score vorbis="1">
{
\clef treble

\transpose c c' { c8^\markup { \null \raise #1 \bold { C } } d e f g a b c' b a g f e d c4 }
\transpose c f' { c8^\markup { \null \raise #1 \bold { F } } d e f g a b c' b a g f e d c4 }
\transpose c bes { c8^\markup { \null \raise #1 \bold { Bb } } d e f g a b c' b a g f e d c4 }
\transpose c ees' { c8^\markup { \null \raise #1 \bold { Eb } } d e f g a b c' b a g f e d c4 }
\transpose c aes { c8^\markup { \null \raise #1 \bold { Ab } } d e f g a b c' b a g f e d c4 }
\transpose c des' { c8^\markup { \null \raise #1 \bold { Db } } d e f g a b c' b a g f e d c4 }
\transpose c ges { c8^\markup { \null \raise #1 \bold { Gb } } d e f g a b c' b a g f e d c4 }
\transpose c b { c8^\markup { \null \raise #1 \bold { B } } d e f g a b c' b a g f e d c4 }
\transpose c e' { c8^\markup { \null \raise #1 \bold { E } } d e f g a b c' b a g f e d c4 }
\transpose c a { c8^\markup { \null \raise #1 \bold { A } } d e f g a b c' b a g f e d c4 }
\transpose c d' { c8^\markup { \null \raise #1 \bold { D } } d e f g a b c' b a g f e d c4 }
\transpose c g { c8^\markup { \null \raise #1 \bold { G } } d e f g a b c' b a g f e d c4 }

\bar "|."
}
</score>


 


Transposition sur un mode modifier

Source

http://lilypond.org/doc/v2.19/Documentation/source/Documentation/notation/changing-multiple-pitches#modal-transformations


Syntaxe

\modalTranspose hauteur-départ hauteur-arrivée { mode } { motif }


Sur une gamme "classique" modifier

Code

<score vorbis="1">
{
\clef treble

\modalTranspose c	c'	 { c d e f g a b } { c8 d e f }
\modalTranspose c	d'	 { c d e f g a b } { c d e f }
\modalTranspose c	e'	 { c d e f g a b } { c d e f }
\modalTranspose c	f'	 { c d e f g a b } { c d e f }
\modalTranspose c	g'	 { c d e f g a b } { c d e f }
\modalTranspose c	a'	 { c d e f g a b } { c d e f }
\modalTranspose c	b'	 { c d e f g a b } { c d e f }
\modalTranspose c	c''	 { c d e f g a b } { c d e f }
\modalTranspose c	d''	 { c d e f g a b } { c d e f }
\modalTranspose c	e''	 { c d e f g a b } { c d e f }
\modalTranspose c	f''	 { c d e f g a b } { c d e f }
\modalTranspose c	g''	 { c d e f g a b } { c d e f }
\modalTranspose c	c'''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	b''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	a''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	g''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	f''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	e''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	d''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	c''	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	b'	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	a'	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	g'	 { c d e f g a b } { c b, a, g, }
\modalTranspose c	f'	 { c d e f g a b } { c b, a, g,~ }

c'1

\bar "|."
}
</score>


Résultat

 



Sur une gamme pentatonique modifier

Code

<score vorbis="1">
{
\clef treble

\modalTranspose c 	c'	 { c d e g a } { c8 d e }
\modalTranspose c 	d'	 { c d e g a } { c8 d e }
\modalTranspose c 	e'	 { c d e g a } { c8 d e }
\modalTranspose c 	g'	 { c d e g a } { c8 d e }
\modalTranspose c 	a'	 { c d e g a } { c8 d e }
\modalTranspose c 	c''	 { c d e g a } { c8 d e }
\modalTranspose c 	d''	 { c d e g a } { c8 d e }
\modalTranspose c 	e''	 { c d e g a } { c8 d e }
\modalTranspose c 	g''	 { c d e g a } { c8 d e }
\modalTranspose c 	a''	 { c d e g a } { c8 d e }
\modalTranspose c 	c'''	 { c d e g a } { c8 d e }
\modalTranspose c 	a''	 { c d e g a } { c8 d e }
\modalTranspose c 	g''	 { c d e g a } { c8 d e }
\modalTranspose c 	e''	 { c d e g a } { c8 d e }
\modalTranspose c 	d''	 { c d e g a } { c8 d e }
\modalTranspose c 	c''	 { c d e g a } { c8 d e }
\modalTranspose c 	a'	 { c d e g a } { c8 d e }
\modalTranspose c 	g'	 { c d e g a } { c8 d e }
\modalTranspose c 	e'	 { c d e g a } { c8 d e }
\modalTranspose c 	d'	 { c d e g a } { c8 d e }

c'2
\bar "|."
}
</score>


Résultat

 


Triolet modifier

Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/writing-rhythms#tuplets


Syntaxe

\times fraction { expression_musicale }


Code

<score vorbis="1">
{
\clef bass

\times 2/3{ b8 c d } e8 f \times 2/3{ g4 a8 }
b8 c \times 2/3{ d8 e4 } f8 g \times 2/3{ r4 a8 }
b8 c \times 2/3{ r8 d e } f8 e \times 2/3{ r8 d4 }
r8 c \times 2/3{ b8 a g } r8 f \times 2/3{ e4 d8 } r4

\bar "|."
}
</score>


Résultat

 


Variables modifier


NB. Les variables ne semblent pas fonctionner, et ce même avec l'option raw="1".


Source

http://www.lilypond.org/doc/v2.18/Documentation/notation/techniques-specific-to-lyrics#working-with-lyrics-and-variables



Code

<score vorbis="1">
musicOne = \relative c'' {
  c4 b8. a16 g4. f8 e4 d c2
}
verseOne = \lyricmode {
  Joy to the world, the Lord is come.
}
\score {
  <<
    \new Voice = "one" {
      \time 2/4
      \musicOne
    }
    \new Lyrics \lyricsto "one" {
      \verseOne
    }
  >>
}
</score>


Résultat