Hallo zu später Stunde
Wie erzeuge ich einen Wechsel zwischen Schlagzeug (bassdrum etc.) und Pauken in einem System?
Drumstaff{} und Staff{} nacheinander erzeugen zwei Systeme.
\version "2.19.83"
\new DrumStaff \with { \accepts "Voice" }
<<
%% To avoid the need to create too many new contexts of type Voice, we
%% initiate a new named Voice right at start and let further occurrencies
%% of Voices distribute their content to it.
%% We need to enter a spacer there with the length of the whole music.
%% I.e. This example has 5 4/4-measures, thus we enter s1*5.
\new Voice = "pauke" \notemode { s1*5 }
\drummode {
bd1
\context Voice = "pauke" \notemode {
\clef bass
b,2 f
}
\clef percussion
bd1
\context Voice = "pauke" \notemode {
\clef bass
b,2 f
}
\clef percussion
bd1
}
>>
HTH,
Harm
Perfekt! Vielen Dank.
Aber wie soll man da drauf kommen?
Hmm, leider doch nicht ganz so perfekt.
Eine kleine Änderung in der Pauke, bes statt b, aber das Vorzeichen wird nicht gedruckt :-[
Versuch mal den Accidental_engraver in die Voice zu packen. Führt zu:
\version "2.19.83"
\new DrumStaff \with { \accepts "Voice" }
<<
%% To avoid the need to create too many new contexts of type Voice, we
%% initiate a new named Voice right at start and let further occurrencies
%% of Voices distribute their content to it.
%% We need to enter a spacer there with the length of the whole music.
%% I.e. This example has 5 4/4-measures, thus we enter s1*5.
\new Voice = "pauke"
\with { \consists "Accidental_engraver" }
\notemode { s1*5 }
\drummode {
bd1
\context Voice = "pauke" \notemode {
\clef bass
bes,2 f
}
\clef percussion
bd1
\context Voice = "pauke" \notemode {
\clef bass
bes,2 f
}
\clef percussion
bd1
}
>>
Im minimal funktionierts ...
Gruß,
Harm
Versuch erfolgreich. Danke (wieder mal :) )