[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Beginner question about writing for drums
From: |
Pierre-Luc Gauthier |
Subject: |
Re: Beginner question about writing for drums |
Date: |
Fri, 28 Apr 2023 13:41:29 -0400 |
Sorry about that, yes the example does not show anything about the
connection between voice "1" and "2".
Here is one that does :
\version "2.25.5"
\language "english"
grooveI = \drummode <<
<<
{
\override NoteHead.color = "red"
\repeat unfold 15 hh16 hho\laissezVibrer |
r8 \repeat unfold 12 hh16 hho8\laissezVibrer
}
>>
\\
{
\override NoteHead.color = "green"
bd4 r bd r8. bd16 |
r16 hhp bd bd r4 bd16 8. r8 bd |
}
>>
grooveII = \drummode <<
<<
\repeat unfold 8 hh8 |
\repeat unfold 2 {s4 sn8 s} |
>>
\\
\repeat unfold 2 {bd4 r} |
>>
\new DrumStaff \with {
} {
\repeat unfold 2 \grooveI |
\repeat unfold 4 \grooveII |
}
Here voice "1" stays red and voice "2" stays green.
Not sure why I do not find a way to change it in a \layout block…
\layout {
\context {
\DrumVoice % = "1" ?
% only where DrumVoice = "1"
\override Beam.stencil = ##f
}
}
Le ven. 28 avr. 2023, à 13 h 11, <mail-login+lilypond@protonmail.com> a écrit :
>
> No question that this is a nice example as well, but I don't see where it
> shows that the
> voices are connected somehow (most probable I just missed it when reading
> over it).
> Can you explain further? (maybe reference some lines or what to look at)
>
> Best wishes
> Lukas
>
>
> ------- Original Message -------
> On Friday, April 28th, 2023 at 16:09, Pierre-Luc Gauthier
> <p.luc.gauthier@gmail.com> wrote:
>
>
> >
> >
> > Here is another drum example I have (Nightmare is the song name (Not
> > quite my cup of tea but hey…)).
> >
> > Le ven. 28 avr. 2023, à 10 h 07, Pierre-Luc Gauthier
> > p.luc.gauthier@gmail.com a écrit :
> >
> > > Le jeu. 27 avr. 2023, à 20 h 48, mail-login+lilypond@protonmail.com a
> > > écrit :
> > >
> > > > > <<
> > > > > { hh4 <hh sn> hh q }
> > > > > \\
> > > > > { bd4 r bd r }
> > >
> > > > are the voices somehow linked if I create another chunk like that?
> > >
> > > Yes they are.
> > >
> > > << {…} \\ {…} >>
> > >
> > > is equivalent to
> > >
> > > \new Staff <<
> > > \new Voice = "1" { \voiceOne … }
> > > \new Voice = "2" { \voiceTwo \relative … }
> > >
> > > --
> > > Pierre-Luc Gauthier
> >
> >
> >
> >
> > --
> > Pierre-Luc Gauthier
>
--
Pierre-Luc Gauthier
Re: Beginner question about writing for drums, Stu McKenzie, 2023/04/27