lilypond-devel
[Top][All Lists]
Advanced

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

Re: 2.5 percussion documentation examples are broken?


From: Mats Bengtsson
Subject: Re: 2.5 percussion documentation examples are broken?
Date: Tue, 26 Apr 2005 10:39:51 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.7) Gecko/20050414



Graham Percival wrote:
Devel: is  \drums{}  still supposed to work?

At least it's still in the source code!

   /Mats


http://www.lilypond.org/doc/v2.5/Documentation/user/out-www/lilypond/ Entering-percussion.html
%% all "notes" are middle C
 \drums {
       hihat hh bassdrum bd
}

Looking at the examples in Percussion-staves, it seems that drum support only works when there's an explicit \context DrumStaff { \context DrumVoice{ }}.
See this example:

%% first bar fails; second bar (after the DrumVoices are defined) is  good.
\new DrumStaff <<
       \context DrumVoice = "1" { s1 *2 }
       \context DrumVoice = "2" { s1 *2 }
       \drummode {
         bd4 sn4 bd4 sn4
         <<
           { \repeat unfold 16 hh16 }
           \\
           { bd4 sn4 bd4 sn4 }
         >>
       }
 >>


I can delete \drums{} from the docs and replace it with the explicit
definitions, but I think we should keep \drums{}.

Cheers,
- Graham



_______________________________________________
lilypond-user mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/lilypond-user

--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================




reply via email to

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