[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: autoBeamSetting
From: |
Bainos |
Subject: |
Re: autoBeamSetting |
Date: |
Fri, 29 Jun 2007 10:14:55 -0700 (PDT) |
>This is exactly what the LilyPond Snippet Repository is intended for;
Glad to do it!
Because is the first time for me i prefer post here what I will
Write so you can check my english and if the snippet is right.
Snippet Title: "autoBeamSettings in Layout{}"
>
> If you need to set the automatic beam division from the layout
> you can try this way:
>
>
>
>> \layout {
>> \context {
>> \DrumStaff
>> % set the beam division after 1/4 and after 3/4 (after 2/4 is
>> default)
>> autoBeamSettings = #'((cons (cons '(end * * * *)
>> (ly:make-moment 1 4))
>>
>> default-auto-beam-settings)
>> (cons (cons '(end * * * *)
>> (ly:make-moment 3
>> 4))
>>
>> default-auto-beam-settings)
>> )
>> }
>> }
>>
>> up = \drummode {hh8 hh hh hh hh hh hh hh} %Note that ther is not the
>> manual beam division
>>
>>
>> %like bd8[sn]
>> }
>>
>> down = \drummode {
>> \override Beam #'positions = #'(-5 . -5)
>> bd8. bd16 sn16 bd8 bd16 r8 bd8 sn16 bd8. %Note that ther is not
>> the
>> manual beam
>>
>>
>> %division like bd8[sn]
>> }
>>
>> \new DrumStaff {
>>
>> <<
>> \new DrumVoice { \voiceOne \up }
>> \new DrumVoice { \voiceTwo \down }
>>>>
>>
>> }
>>
>
> For more info:
>
> http://lilypond.org/doc/v2.10/Documentation/user/lilypond/Setting-automatic-beam-behavior#Setting-
>
> automatic-beam-behavior
>
>
Also I have few questions:
May I share what I write?
Does a drum database exist?
Regards
Bainos
--
View this message in context:
http://www.nabble.com/autoBeamSetting-tf3997367.html#a11363793
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.