lilypond-user
[Top][All Lists]
Advanced

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

Re: autoBeamSetting


From: Bainos
Subject: Re: autoBeamSetting
Date: Fri, 29 Jun 2007 06:52:16 -0700 (PDT)


Bainos wrote:
> 
> Hi,
> 
> I am a beginner al Lilyond and I'm trying to write my first drum sheet,
> but i can't
> understand How to set automatic beam division in the layout.. (context?)
> After searching in the manual and the forum I tried in differenrt ways,
> but none of them seems to be the right way.
> Here is my code:
> 
> \layout {#(set-global-staff-size 12)
>        \context {
>          \DrumStaff
>          \remove "Clef_engraver" 
>          \consists "Parenthesis_engraver"
>          %% \override DrumStaff.autoBeamSettings   #'(end * * * *) =
> #(ly:make-moment 1 4)
>          %% \set DrumStaff.autoBeamSettings   #'(end * * * *) =
> #(ly:make-moment 1 4)
>          %% #(override-auto-beam-setting '(end * * * *) 1 4)
>          %% autoBeamSettings = #(layout-override-auto-beam-setting '(end * * *
> *) 1 4) 
>       }
> }
> 
> I don't know if this is the right way to procede.
> 

well..

I found something that works, but not as I supposed it to works..

\layout {#(set-global-staff-size 12)
         \context {
           \DrumStaff
           \remove "Clef_engraver" 
           \consists "Parenthesis_engraver"
           autoBeamSettings = #(cons (cons '(end * * * *) (ly:make-moment 1 4)) 
                        
default-auto-beam-settings)
        }
}

This works but only on the first 2/4 every 4/4.. 
If needed I'll Post all the code..

any advice?

Regards         Bainos

-- 
View this message in context: 
http://www.nabble.com/autoBeamSetting-tf3997367.html#a11360560
Sent from the Gnu - Lilypond - User mailing list archive at Nabble.com.





reply via email to

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