lilypond-user
[Top][All Lists]
Advanced

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

Re: OverrideBeamSettings


From: David Kastrup
Subject: Re: OverrideBeamSettings
Date: Sat, 15 Jan 2011 18:06:53 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

David Kastrup <address@hidden> writes:

[...]

> global={ \key es\major
>    \time 2/4  \override Beam #'auto-knee-gap = #4 }

Oops.  When one uses the original pitches instead of using the wrong
octave, you don't need to fiddle with auto-knee-gap to get your result.

ud=#(define-music-function (parser location low high) (ly:music? ly:music?)
     #{ \change Staff = "down" $low \change Staff = "up" $high #})

global={ \key es\major
   \time 2/4  }

\new StaffGroup
<< \set StaffGroup.beatStructure = #'(2)
 \new Staff = "up" { \global s2*3 }
   \new Staff = "down" { \global
     \relative c' { \repeat unfold 2 { \ud <c es f>8 <g' bes c> }
                    \repeat unfold 2 { \ud <c, es f> <as' bes c> }
                    \repeat unfold 2 { \ud <c, es f> <g' bes c> } } }
>>


-- 
David Kastrup




reply via email to

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