lilypond-user
[Top][All Lists]
Advanced

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

Re: Ambitus


From: Reinhold Kainhofer
Subject: Re: Ambitus
Date: Sun, 31 Jan 2010 21:01:50 +0100
User-agent: KMail/1.12.4 (Linux/2.6.31-17-generic; KDE/4.3.4; i686; ; )

Am Sonntag, 31. Januar 2010 20:46:14 schrieb Neil Puttock:
> On 31 January 2010 17:46, Kieren MacMillan
> 
> <address@hidden> wrote:
> > I've been wanting to put the ambitus information on another page --
> > specifically, a vocal range for a song on the title page. Is there a way
> > to do this easily?
> 
> Hmm, I think this would be very tricky (if not impossible currently)
> since you'd need the ambitus information to be accessible from markup;
> as it stands, even getting the pitch range out of the engraver (via
> the created grobs) isn't simple: the heads only carry their
> staff-position (there's no equivalent event which has pitch
> information).

You can write your own engraver that listens to the note-event rather than the 
created NoteHead grobs. There, you can easily extract the pitch...

Cheers,
Reinhold

-- 
------------------------------------------------------------------
Reinhold Kainhofer, address@hidden, http://reinhold.kainhofer.com/
 * Financial & Actuarial Math., Vienna Univ. of Technology, Austria
 * http://www.fam.tuwien.ac.at/, DVR: 0005886
 * LilyPond, Music typesetting, http://www.lilypond.org




reply via email to

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