% Exemple_accords_markups.ly % Philippe Neyrat address@hidden % Version 1.0 Exemple_accords_markups_version = "1.0" \version "2.16.2" #(set-global-staff-size 17) \pointAndClickOff %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%% HEADER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \header { title = \markup { "Exemple d'accords et markups" } % title composer = \markup \center-column { \vspace #0.5 \small \concat { "Version " \Exemple_accords_markups_version } \vspace #1 } } % header %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% PAPER %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \paper { indent = 0\cm ragged-bottom=##f ragged-right=##f ragged-last-bottom=##t top-margin = 20\mm line-width = 180\mm bottom-margin = 20\mm } % paper %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%% ACCORDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% accords = \chords { \set chordChanges = ##t \partial 4 s4 cis1:3-.5-.7 % 1 fis:7 a:m7 d:7 d:m7 % 5 g:7 bes2:7sus4 b:7.9-.10-.11+.13- c:maj7 f:7sus4 } % accords %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%% ACCORDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% musique = \relative c'' { \clef treble \time 4/4 \key g \major \tempo \markup { \concat { \general-align #Y #DOWN \note #"4" #1 " = 126 Swing" } % concat } % tempo \partial 4 b4-^ \bar "||" fis'2~^\markup { \rounded-box "Chorus 1" } fis8 g a fis~ \bar "|" % 1 fis2. g8 d~ \bar "|" d2 g4-^ c,8 b~ \bar "|" b2. r4 \break r8^\markup { \rounded-box "Chorus 2" } e~ e4 a,8 c r g' \bar "|" % 5 \times 2/3 { e f e~ } e4 r8 g ees[ d] \bar "|" r8 g, g[ g] r8 g g[ d'] \bar "|" r8 g g[ g] r8 g, a[ c] \break } % musique musiqueaccords = { << \accords \musique >> } % musiqueaccords %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% SCORE %%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \score { \musiqueaccords \layout { } % layout \midi { } % midi } % score