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

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

Numéro de mesure


From: Carlus
Subject: Numéro de mesure
Date: Fri, 23 Oct 2015 03:36:00 -0700 (MST)

Bonjour,

J'ai besoin de rendre invisible les numéros de mesures de début de lignes
dans un contexte DrumStaff (pas de score).
J'ai essayé toutes les solutions trouvées sur le net, rien ne fonctionne.
Rien ne fonctionne.
Ci-dessous mon code.
Si quelqu'un a une idée, je suis preneur :-)
merci d'avance


\version "2.14.2"

#(define ma_notation '( 
        (bassdrum () #f -5)     
        (pedalhihat cross #f -5)
        (snare () #f 0)                 
        (lowfloortom () #f -3)          
        (lowmidtom () #f 1)                      
        (himidtom () #f 3)              
        (closedhihat cross #f 5)
        (halfopenhihat cross "halfopen" 5)
        (openhihat xcircle #f 5)        
        (ridecymbal cross #f 6)         
        (crashcymbal xcircle #f 6)      
        (splashcymbal diamond #f 6)      
        (chinesecymbal mensural #f 6) 
        (ridebell diamond #f 6) 
))
%bd
%hhp 
%sn 
%tomfl 
%tomml           
%tommh
%hhc 
%hho
%hhho
%hhca
%cymc 
%cyms 
%cymch

D=^\markup { \char ##x00B0 }
G=^\markup { \char ##x2022 }

\paper { 
  % espace entre portées
  system-system-spacing #'basic-distance = #14 
  % espace entre notes/exercice et portee
  markup-system-spacing #'basic-distance = #16
  %system-system-spacing #'space = 3\cm 
  score-system-spacing = 
  #'((basic-distance . 14) 
  (minimum-distance . 1) 
  (padding . 1) 
  (stretchability . 1)) 
  indent=0      
} 
\layout { ragged-right = ##f }

% Exercice 1 – Préparation une croche
\new DrumStaff \with { 
                \override DrumStaff #'TimeSignature #'style = #'() 
                fontSize = #1 
                \override StaffSymbol #'staff-space = #(magstep 1) 
                \consists "Parenthesis_engraver" 
                % Pas de mesure
                \once \override Staff.TimeSignature #'stencil = ##f
                
                } 

<< 
        \new DrumVoice = "1"
        \set DrumStaff.drumStyleTable = #(alist->hash-table ma_notation)

        
        \drummode 
        { 
                << 
                        %\tempo 4. = 84
                        \time 4/4
                        { 
                                \stemDown
                                \mark "1"
                                \times 2/3 {sn8 sn r} \times 2/3 {sn sn r}
                                \times 2/3 {sn sn r} \times 2/3 {sn sn r}
                                \bar ":|:"
                                \mark "2"
                                \times 2/3 {r8 sn sn} \times 2/3 {r8 sn sn}
                                \times 2/3 {r8 sn sn} \times 2/3 {r8 sn sn}
                                \bar ":|:"
                                \mark "3"
                                \times 2/3 {sn8 r sn} \times 2/3 {sn8 r sn}
                                \times 2/3 {sn8 r sn} \times 2/3 {sn8 r sn}
                                \bar ":|:"
                                \break
                                \mark "4"
                                \times 2/3 {bd8 bd r} \times 2/3 {bd bd r}
                                \times 2/3 {bd bd r} \times 2/3 {bd bd r}
                                \bar ":|:"
                                \mark "5"
                                \times 2/3 {r8 bd bd} \times 2/3 {r8 bd bd}
                                \times 2/3 {r8 bd bd} \times 2/3 {r8 bd bd}
                                \bar ":|:"
                                \mark "6"
                                \times 2/3 {bd8 r bd} \times 2/3 {bd8 r bd}
                                \times 2/3 {bd8 r bd} \times 2/3 {bd8 r bd}
                                \bar ":|:"
                                \break
                                \mark "7"
                                \times 2/3 {sn8 sn r} \times 2/3 {tommh tommh r}
                                \times 2/3 {tomfl tomfl r} \times 2/3 {bd bd r}
                                \bar ":|:"
                                \mark "8"
                                \times 2/3 {r8 sn sn} \times 2/3 {r8 tommh 
tommh}
                                \times 2/3 {r8 tomfl tomfl} \times 2/3 {r8 bd 
bd}
                                \bar ":|:"
                                \mark "9"
                                \times 2/3 {sn8 r sn} \times 2/3 {tommh8 r 
tommh}
                                \times 2/3 {tomfl8 r tomfl} \times 2/3 {bd8 r 
bd}
                                \bar ":|:"
                                \break
                                \mark "10"
                                \times 2/3 {bd bd r} \times 2/3 {tomfl tomfl r} 
                                \times 2/3 {tommh tommh r} \times 2/3 {sn8 sn 
r} 
                                \bar ":|:"
                                \mark "11"
                                \times 2/3 {r8 bd bd} \times 2/3 {r8 tomfl 
tomfl} 
                                \times 2/3 {r8 tommh tommh} \times 2/3 {r8 sn 
sn} 
                                \bar ":|:"
                                \mark "12"
                                \times 2/3 {bd8 r bd} \times 2/3 {tomfl8 r 
tomfl} 
                                \times 2/3 {tommh8 r tommh} \times 2/3 {sn8 r 
sn} 
                                \bar ":|:"
                                \break
                                \mark "13"
                                \times 2/3 {<sn bd> <sn bd> r} \times 2/3 {<sn 
bd> <sn bd> r}
                                \times 2/3 {<sn bd> <sn bd> r} \times 2/3 {<sn 
bd> <sn bd> r}
                                \bar ":|:"
                                \mark "14"
                                \times 2/3 {r8 <sn bd> <sn bd>} \times 2/3 {r8 
<sn bd> <sn bd>}
                                \times 2/3 {r8 <sn bd> <sn bd>} \times 2/3 {r8 
<sn bd> <sn bd>}
                                \bar ":|:"
                                \mark "15"
                                \times 2/3 {<sn bd>8 r <sn bd>} \times 2/3 {<sn 
bd>8 r <sn bd>}
                                \times 2/3 {<sn bd>8 r <sn bd>} \times 2/3 {<sn 
bd>8 r <sn bd>}
                                \bar ":|:"
                                \break
                                
                        } 
                        
                >> 
        } 
>>





--
View this message in context: 
http://lilypond-french-users.1298960.n2.nabble.com/Numero-de-mesure-tp7583360.html
Sent from the LilyPond French Users mailing list archive at Nabble.com.



reply via email to

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