lilypond-user
[Top][All Lists]
Advanced

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

Re: basic question regarding \drummode


From: Thomas Morley
Subject: Re: basic question regarding \drummode
Date: Sat, 5 Nov 2016 13:46:22 +0100

2016-11-05 12:39 GMT+01:00 Malte Meyn <address@hidden>:
>
>
> Am 04.11.2016 um 23:15 schrieb Tobin Chodos:
>>
>> What's the best way to handle a percussion part that has a lot of
>> pitched and un-pitched material?
>
>
> You could have a “pitched” Staff accept not only “pitched” Voices but also
> DrumVoices:
>
> \version "2.18.2"
>
> \new Staff \with {
>   \accepts DrumVoice
> } \relative {
>   c' d e f
>   \new DrumVoice \drummode {
>     bd hh sn hh
>   }
>   g a b c
>
> }


Hi Malte,

this will fail if the DrumVoice is created before Voice, uncomment
Voice to make it work.

\new Staff \with { \accepts DrumVoice }
  \relative {
    %\context Voice { <> }
    \context DrumVoice \drummode { hh4 hh hh hh }
    g a b c
}

Cheers,
  Harm



reply via email to

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