lilypond-user-fr
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: partition guitare avec grille d'accord ?


From: Daniel Cartron
Subject: Re: partition guitare avec grille d'accord ?
Date: Mon, 17 Jun 2013 18:07:28 +0200
User-agent: KMail/4.10.3 (Linux/3.8.0-25-generic; KDE/4.10.3; x86_64; ; )

Le lundi 17 juin 2013 18:00:37 Daniel Cartron a écrit :
> ci-joint une notation de tes accords,

plan classique, j'ai oublié de joindre le code :-D

du coup je vire mes Rtxxx en trop

\version "2.16.0"
\include "italiano.ly" 
#(ly:set-option 'delete-intermediate-files #t)

\include "predefined-guitar-fretboards.ly"

\header {
        subtitle = "Guitare rythmique"
}

#(define custom-fretboard-perso (make-fretboard-table))
\storePredefinedDiagram #custom-fretboard-perso
  \chordmode{si:7} #guitar-tuning "x;2;1;2;o;2;"
\storePredefinedDiagram #custom-fretboard-perso
  \chordmode{la:m} #guitar-tuning "x;o;2;2;1;o;"

Global = {
        \key sol \major
        \time 2/4
%       \numericTimeSignature
        \tempo 4=114
        \set Score.markFormatter = #format-mark-box-letters
        \set Score.skipBars = ##t
        \override MultiMeasureRest #'expand-limit = 1
        \compressFullBarRests
        \set countPercentRepeats = ##t
}
                        
Rythm = \chordmode {
        mi1:m do la:m si:7 |
}

Rtcc = {re8\downbow re\upbow}

RythmPart = {
        \Rtcc \Rtcc \Rtcc \Rtcc |
        \Rtcc \Rtcc \Rtcc \Rtcc |
        \Rtcc \Rtcc \Rtcc \Rtcc |
        \Rtcc \Rtcc \Rtcc \Rtcc |
}

Rythmique = \chordmode {
        \Global
        \Rythm
}

RythmiquePart = {
        \Global
        \RythmPart
}

\score {
        <<
        \new ChordNames { 
                \set chordChanges = ##f
                \frenchChords
                \Rythmique
        }
        \new FretBoards {
                \set predefinedDiagramTable = #custom-fretboard-perso
                \Rythmique
        }
        \new RhythmicStaff { \RythmiquePart }

  
        >>
        \layout {
                \context {
                        \Score
                        \remove "Bar_number_engraver"
                }
                indent = 0\mm
        }
}

\paper { % Réglages de la sortie papier
        TailleGlobale = #20
        #(set-paper-size "a4") left-margin = 15\mm line-width = 190\mm 
top-margin 
= 10\mm bottom-margin = 10\mm% Format A4
        page-count = #1 % Partition en une seule page
        ragged-right = ##f % Justification horizontale pour un système unique
%       ragged-last-bottom = ##f  % Justification verticale pour une page unique
        #(define fonts  (make-pango-font-tree "Liberation Sans" "Liberation 
Sans" "Liberation Mono" ; définition de l'arbre des polices
        (/ TailleGlobale 20) ; ne pas modifier ce paramètre proportionnel 
global 
mais TailleGlobale ci-dessus
        ))
}

-- 
Cordialement, Daniel Cartron
« On devrait toujours être légèrement improbable. »
Oscar Wilde - Aphorismes




reply via email to

[Prev in Thread] Current Thread [Next in Thread]