[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] autochange.scm: Use averaged chord pitches to determine staf
From: |
Mark Polesky |
Subject: |
Re: [PATCH] autochange.scm: Use averaged chord pitches to determine staff. |
Date: |
Tue, 28 Jul 2009 17:01:32 -0700 (PDT) |
Neil Puttock wrote:
> > \new PianoStaff \autochange \relative {
> > \set autochangeMargin = #2
> > c8 d e f g f e d
> > c b a g f g a b
> > c d e f g f e d
> > }
>
> Making this a context property would imply some kind of relationship
> with an engraver, so I don't think it's appropriate here.
Can I make it a property of the AutoChangeMusic object?
> It might be possible using ApplyContext, but it's such a convoluted
> way of accessing a property that you're better off creating a parser
> variable (with the limitation that you couldn't set it within the
> music) or passing the value directly through the music function (which
> means changing the signature of the function, requiring a convert
> rule).
I had thought that applyContext was the way to go. But what's a parser
variable? Can you give me an example of one?
Thanks.
- Mark
- Re: [PATCH] autochange.scm: Use averaged chord pitches to determinestaff., (continued)
Re: [PATCH] autochange.scm: Use averaged chord pitches to determinestaff., Mark Polesky, 2009/07/28