|
From: | Federico Bruni |
Subject: | Re: DrumStaff question |
Date: | Tue, 12 Jun 2018 23:02:34 +0200 |
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 } }
[Prev in Thread] | Current Thread | [Next in Thread] |