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

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

la Batterie avec lilyjazz


From: Christian LE BARS
Subject: la Batterie avec lilyjazz
Date: Fri, 9 Sep 2022 15:46:52 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0

bonjour a tous.

Depuis un certain temps je cherche a écrire des partitions de batterie sous lilyjazz.

Voila j'ai bidouillé le code ci-dessous qui me donne satisfaction.

Il a noté que je ne comprend pas ma fonction Crash que j'ai recopié bêtement de la doc!

Si quelqu'un peut me l'expliquer, ce serait la bien venue.

Par avance merci

\version "2.22.1"
\include "lilyjazz.ily"
%-----------------------------------
Crash =
{
 \once \override NoteHead.stencil = #ly:text-interface::print
 \once \override NoteHead.text =
 \markup
  {
   \combine
   \halign #-0.6 \draw-circle #0.60 #0.2 ##f
   \musicglyph "noteheads.s2cross"
  }
}

%--------------------------------------
Nom =
\lyricmode
 {
  crash   cymr   hh   hhc    hho  hhp  bd   sn
  ss   tomml  toml  tomfh  tomfl
 }
%------------------------------------
Note =
\drummode
 {
   \Crash cymr
  cymr hh    hhc  hho hhp  bd
  sn  ss tomml  toml tomfh tomfl 1
}
%----------------------------------------
\score
 {
  <<
   \new DrumStaff
    \with
     {
      \hide Stem
      \override Stem.Y-extent = ##f
     }
    \Note
    \new Lyrics \Nom
  >>
  \layout
   {
    \context
     {
      \Score
      \override LyricText.font-family = #'typewriter

     }
   }
}




reply via email to

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