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: MajorGhz
Subject: Re: partition guitare avec grille d'accord ?
Date: Mon, 17 Jun 2013 15:26:25 +0200

c'est impeccable, un grand merci :)


Le Mon, 17 Jun 2013 11:00:05 +0200,
Daniel Cartron <address@hidden> a écrit :

> Le lundi 17 juin 2013 10:16:03 MajorGhz a écrit :
> > simplement je n'y arrive pas, je ne comprend pas l'utilisation le
> > \relative et je tombe sur des résultat erroné.
> 
> J'ai vérifié comment je fais et je n'ai pas de relative.
> 
> Voici un exemple de code, c'est un peu trapu mais ça permet des
> résultats sympas.
> 
> Si je dois expliquer tu fais signe. J'ai mm mis une option où tu peux 
> définir tes accords persos si tu n'aimes pas ceux par défaut de tante
> lily.
> 
> \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{re:sus2}
>                         #guitar-tuning
>                         "x;x;o;2;3;o;"
> Global = {
> %     \key sol \major
>       \key sol \major
>       \time 4/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 {
>       \repeat unfold 3 {re2:sus2 s8 do4. |}
>       la2:m sol |
> }
> 
> cr = \override NoteHead #'style = #'cross
> no = \revert NoteHead #'style
> 
> 
> Rtcpd = {re8.\downbow re16\upbow}
> Rtcdd = {re8\downbow re16\downbow re\upbow}
> Rtdddd = {re16\downbow re\upbow re\downbow re\upbow }
> Rtddc = {re16 re\upbow re8\downbow}
> Rtn = {re4\downbow}
> Rtxxc = {\cr re16\downbow re\upbow \no re8\downbow}
> Rtcxx = {re8\downbow \cr re16\downbow re\upbow \no}
> Rtcpx = {re8.\downbow \cr re16\upbow \no}
> 
> %Beat_cp_dc = \samePitch { re8.\downbow re16\upbow }  
> 
> RythmPart = {
>       \Rtcpd \Rtcdd \Rtcdd \Rtcdd |
>       \Rtcpd \Rtcdd \Rtxxc \Rtcxx |
>       \Rtcpd \Rtcdd \Rtcdd \Rtcdd |
>       \Rtcpd \Rtcdd \Rtddc \Rtcpx |
> }
> 
> Rythmique = \chordmode {
>       \Global
>       \Rythm
> }
> 
> 
> RythmiquePart = \new RhythmicStaff {
>       \Global
>       \RythmPart
> }
> 
> \score {
>       <<
>       \new ChordNames { 
>               \set chordChanges = ##f
>               \frenchChords
>               \Rythmique
>       }
>       \new FretBoards {
>               \set predefinedDiagramTable = #custom-fretboard-perso
>               \Rythmique
>       }
>       \new Staff { \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 ))
> }
> 




reply via email to

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