[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Several thoughts for implementing accordion standard bass support
From: |
Han-Wen Nienhuys |
Subject: |
Re: Several thoughts for implementing accordion standard bass support |
Date: |
Wed, 20 Jan 2010 01:50:12 -0200 |
On Tue, Jan 19, 2010 at 11:55 AM, David Kastrup <address@hidden> wrote:
>>> StdbassEngraver = #`((listeners
>>> (note-event .
>>> ,(lambda (engraver event)
>>> (let* ((pitch (ly:event-property event 'pitch)))
>>> (ly:event-set-property! event 'pitch
>>
>> This looks wrong - engravers should not modify their inputs. Rather,
>> the engraver should create the Grob that you are interested in, or it
>> should acknowledge the grob created by another engraver.
>
> Obviously, I have no clue whatsoever about what I am doing, and this is
> the "poke with a stick until it works(TM)" approach.
>
> Could you give a code example or outline for either of the possibilities
> that you outlined?
I am completely unsure what you are trying to achieve. Are you really
trying to typeset noteheads on a staff, or is it something else?
--
Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen