[Top][All Lists]

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

Re: drumstaff vs rhythmicstaff

From: David Kastrup
Subject: Re: drumstaff vs rhythmicstaff
Date: Fri, 29 Nov 2013 10:06:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

Janek Warchoł <address@hidden> writes:

> \markup "Shouldn't these two yield identical results?"
> % context: see example from David Aldridge's Rhythm book
> % mentioned on Finale blog and discussed on lilypond blog
> % 
> http://lilypondblog.org/2013/07/creating-anything-you-can-imagine-with-finale/
> \new RhythmicStaff { c'1 c'1 }
> \new DrumStaff \with {
>   \override StaffSymbol #'line-count = #1
> }
> {
>   c'1 c'1
> }

Why should they?  They are different staves for different purposes.
It's actually an abuse of \DrumStaff to use notes in it, and more like
an accident that those land on the remaining staffline (the
Drum_notes_engraver apparently just picks the middle line if it cannot
find a drum-type on a NoteEvent).

The MIDI will be silent on the second example.

David Kastrup

reply via email to

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