[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: improved accidental algorithm
From: |
Han-Wen Nienhuys |
Subject: |
Re: improved accidental algorithm |
Date: |
Wed, 24 Jul 2002 19:53:15 +0200 |
address@hidden writes:
> > Well anyways. I'm looking forward to seeing a patch.
>
> :-) Sorry, I can't do that right now due to lack of knowledge of the
> LilyPonds internals. The best what I can do is to provide some pseudo
> code which you can translate into something real. How and where are
> pitches and note heads stored?
What do you mean by "stored" (from what part of lily do you want to
access them?). We have NoteHead grobs, coming from Note_head_engraver,
by looking at the notehead->get_grob_property ("cause"), you can
discover the request containing the pitch. The note head is also the Y
parent of the accidental.
--
Han-Wen Nienhuys | address@hidden | http://www.cs.uu.nl/~hanwen/
Re: improved accidental algorithm, Werner LEMBERG, 2002/07/24