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

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

[RESOLU] : "problème" de note pointée


From: filosophem
Subject: [RESOLU] : "problème" de note pointée
Date: Tue, 8 Jan 2019 00:12:49 -0700 (MST)

Bonjour à tous,

Merci pour vos réponses.

Pour expliciter le pourquoi du comment : mon prof de batterie m'a demandé
d'écrire systématiquement sur 2 voies (mains/pieds). Voici un exemple plus
parlant:

% LilyBin
#(define mydrums '(
         (snare                 default  #f       0)
         (bassdrum          default  #f     -5)
         (pedalhihat         cross    #f     -5)
         ))

up = \drummode {
        sn8 sn sn sn sn sn sn sn sn sn sn sn
        }

bdnd =
#(define-music-function
     (parser location note)
     (ly:music?)
   #{
     \tweak Dots.stencil ##f
     #note
   #})
        
down = \drummode {
    <\bdnd bd hhp>4. <\bdnd bd hhp> <\bdnd bd hhp> <\bdnd bd hhp>
}

\score {
  \new DrumStaff
  <<
    \time 12/8
    \set DrumStaff.drumStyleTable= #(alist->hash-table mydrums)
    \new DrumVoice { \voiceOne \up }
    \new DrumVoice { \voiceTwo \down }
  >>
  \layout { }
}

Encore merci à tous

Bonne journée 



-----

"/home sweet /home"

Filosophem
--
Sent from: http://lilypond-french-users.1298960.n2.nabble.com/



reply via email to

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