[Top][All Lists]

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

Re: Suggestion: \breathe should include a \noBeam default option

From: Arvid Grøtting
Subject: Re: Suggestion: \breathe should include a \noBeam default option
Date: Fri, 07 Mar 2008 11:32:29 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

Mats Bengtsson <address@hidden> writes:

> Arvid Grøtting wrote:
>> Is it possible to let auto-beaming be performed by an arbitrary scheme
>> function?
> It is performed by a Scheme function, so you can just write your own and do
> \set Score.autoBeamCheck = #my-own-auto-beaming-function

Ah.  Right.  So if I like, I can do this:

#(set! *random-state* (seed->random-state (getpid)))
#(define (random-auto-beaming-function context dir test)
  (or (= dir START)
   (= (random 2) 0)))
\set Score.autoBeamCheck = #random-auto-beaming-function

...for some quite random beaming.

Now, the reason I was asking is that I've been thinking of writing an
auto-beaming function that looks at whether or not the note is inside
a slur.  But can I get to the music (and thus the slur) from these

-- Arvid

reply via email to

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