I don't know why it works, but changing, within your fourtoms definition,
the float-numbers syntax by surrounding the dots with spaces helps.

\version "2.12.2"
%%% four Toms
#(define fourtoms '((hightom default #t  4)
                   (himidtom default #t 1 . 4)
                    (lowmidtom default #t -1 . 2)
                     (lowtom default #t -3 . 8)
                   ))

fourtomStaff = {
  \set DrumStaff.drumStyleTable = #(alist->hash-table fourtoms)
  \override Staff.StaffSymbol #'line-positions = #'(4 1.4  -1.2 -3.8)
  \override Staff.BarLine #'bar-size = #4
}
musik = \drummode { tomh 4 tommh tomml toml }
\score {
  \new DrumStaff { \fourtomStaff \musik  }
}

> Only integers are allowed for 'line-positions in a DrumStaff.  This
> can be easily fixed, though I'm not sure what to suggest for the
> stable version.
> 
> Perhaps you could try refactoring the line positions then scaling down
> the staff-space to compensate (untested).

Toine Schreurs

_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to