bug-lilypond
[Top][All Lists]
Advanced

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

DrumStaff.drumStyleTable is not applied to (acciaccatura) grace notes


From: Stu McKenzie
Subject: DrumStaff.drumStyleTable is not applied to (acciaccatura) grace notes
Date: Mon, 29 Sep 2014 19:36:29 +0000 (UTC)
User-agent: Loom/3.14 (http://gmane.org/)

> I'm not top posting.

\version "2.18.0"

% DrumStaff.drumStyleTable is not applied to
% (acciaccatura) grace notes if the grace notes
% are the first notes in a score.
%
% Also, the stem direction of the first grace notes
% does not comply with the "voiceOne" direction
% This can be forced to comply by adding "\stemDown".
 
#(define mydrums '(
  (hihat cross #f 5)
))

CymbalsA = \drummode {
% \stemDown   % force stem direction
% These grace notes are placed in the default position
  \acciaccatura { hh16[ hh] } hh8
% These grace notes are placed in the new style's position
  \acciaccatura { hh16[ hh] } hh8
  r4 r2
}

\score {
  \new DrumStaff <<
    \set DrumStaff.drumStyleTable = #(alist->hash-table mydrums)
    \new DrumVoice { \voiceOne \CymbalsA }
  >>
}  % end of score





reply via email to

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