lilypond-user
[Top][All Lists]
Advanced

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

Re: DrumStaff question


From: Menu Jacques
Subject: Re: DrumStaff question
Date: Tue, 12 Jun 2018 23:20:19 +0200

Hello Federico,

Thanks Federico.

A side question is (I’m no percussionist): how does one chose between DrumStaff 
and RythmicStaff?

JM

> Le 12 juin 2018 à 23:02, Federico Bruni <address@hidden> a écrit :
> 
> 
> 
> Il giorno mar 12 giu 2018 alle 22:12, Menu Jacques <address@hidden> ha 
> scritto:
>> Hello folks,
>> I can´t seem to get why the code below produces an empty 5-line first staff.
>> Thanks for your help!
>> [...]
>> \score {
>>  <<
>>    \new DrumStaff = "P_PFour_Staff_One"
>>    \with {
>>      instrumentName = "Snare Drum 4"
>>      shortInstrumentName = "Sn. Dr."
>>    }
>>    \drummode
>>    {%<<
>>      \context Voice = "P_PFour_Staff_One_Voice_One" <<
>>        \P_PFour_Staff_One_Voice_One
>>      >>
>>  }%  >>
>>  >>
>>  \layout {
>>    \context {
>>      \Score
>>    }
>>  }
>>  \midi {
>>    \tempo 4 = 90
>>  }
>> }
> 
> The problem is in the \score block.
> 
> I would simplify it to:
> 
> \score {
> \new DrumStaff = "P_PFour_Staff_One"
>   \with {
>     instrumentName = "Snare Drum 4"
>     shortInstrumentName = "Sn. Dr."
>   }
> \drummode { \P_PFour_Staff_One_Voice_One }
> % or you can write also:
> %\new DrumVoice { \P_PFour_Staff_One_Voice_One }
> 
> \layout {
> }
> 
> \midi {
>   \tempo 4 = 90
> }
> }
> 
> 
> 
> 




reply via email to

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