lilypond-user
[Top][All Lists]
Advanced

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

Re: Auto beaming in unmetered music


From: Benedict Singer
Subject: Re: Auto beaming in unmetered music
Date: Tue, 17 Mar 2009 09:34:03 -0700

Thanks Trevor, sometimes it's the simple easy things that you don't think of. I 
was trying to work out how to get beatLength and beatGrouping to do the right 
thing, but of course just having a measure length of 1 quarter note was all I 
needed!

Ben
 
On Tuesday, March 17, 2009, at 02:43AM, "Trevor Daniels" <address@hidden> wrote:
>Stupid of me ...
>
>The easiest way is simply to set the time signature to 1/4, then 
>Lily will do what you want by default:
>
>...
>notes = \relative c'' {
> \clef treble
> \override Score.TimeSignature #'stencil = ##f
> \time 1/4
> \key g \major
> \cadenzaOn
>
> c8 fis c a c e \bar "|"
>...
>
>Trevor
>
>----- Original Message ----- 
>From: "Trevor Daniels" <address@hidden>
>To: "Benedict Singer" <address@hidden>; <address@hidden>
>Sent: Tuesday, March 17, 2009 9:22 AM
>Subject: Re: Auto beaming in unmetered music
>
>
>> Hi
>>
>> The easiest way to do this is to set measureLength and beatLength 
>> explicitly (as you've begun to do), but for them to be effective 
>> you need to either
>>
>> a) revert any autoBeam settings that apply to the time signature 
>> in force (here the default 4/4), as explained in Notation 
>> Reference 1.2.4 Setting automatic beam behaviour, or
>>
>> b) use an uncommon time signature that has no autobeam settings, 
>> and prevent it being displayed.
>>
>> Using (b) is easiest, as follows
>>
>> ...
>>
>> notes = \relative c'' {
>> \clef treble
>> \override Score.TimeSignature #'stencil = ##f
>> \time 7/8
>> \key g \major
>> \cadenzaOn
>> \set Score.measureLength = #(ly:make-moment 1 4)
>> \set Score.beatLength = #(ly:make-moment 1 4)
>>
>> c8 fis c a c e \bar "|"
>>
>> ...
>>
>> Trevor
>>
>> ----- Original Message ----- 
>> From: "Benedict Singer" <address@hidden>
>> To: <address@hidden>
>> Sent: Tuesday, March 17, 2009 3:15 AM
>> Subject: Auto beaming in unmetered music
>>
>>
>>> Hi all,
>>>
>>> I'm writing some un-metered music, using \cadenzaOn and putting 
>>> in \bar "|" where I want barlines. However, the music is a lot of 
>>> 8th and  16th notes, and I'd like them beamed into quarter note 
>>> groups at all  times, i.e. 2 consecutive 8ths beam together, and 
>>> 4 consecutive 16ths  beam together. However, I've been unable to 
>>> get this behavior to  continue past the first 4 8th notes. See 
>>> below for an example. LSR and  the mailing list archives didn't 
>>> turn up any solution to this, along  with the snippets in the 
>>> manual.
>>>
>>> Thanks,
>>> Ben
>>>
>>> \version "2.11.62"
>>>
>>> \paper {
>>>   #(set-paper-size "letter")
>>> }
>>>
>>> notes = \relative c'' {
>>> \clef treble
>>> \key g \major
>>> \cadenzaOn
>>> #(override-auto-beam-setting '(end * * * *) 1 4)
>>> \set Score.beatLength = #(ly:make-moment 1 4)
>>>
>>> c8 fis c a c e \bar "|"
>>> c8 fis c a c e c d c b \bar "|"
>>> c8 d c b c g \bar "|"
>>> c8 d c b c g c fis, c' c' \bar "|"
>>> c,8 c, c' c' \bar "|"
>>> c2 r4 \bar "|"
>>> c,16 fis fis fis c a a a c e e e \bar "|"
>>> fis16 c fis fis a, c a a e' c e e d c d d b c b b \bar "|"
>>>
>>> \bar "|."
>>> }
>>>
>>> \score {
>>> \new Staff << \notes >>
>>> \layout { }
>>> \midi { }
>>> }
>>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> address@hidden
>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>
>>
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>> 
>
>
>




reply via email to

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