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: Wed, 3 Feb 2010 18:36:41 +0100
User-agent: KMail/1.12.4 (Linux/2.6.31-18-generic; KDE/4.3.5; i686; ; )

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Monday 01 February 2010 22:41:36 you wrote:
> On 31 January 2010 20:01, Reinhold Kainhofer <address@hidden> wrote:
> > 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...
> 
> Of course!  Though there's still the problem of how to funnel the
> pitch information to a title markup...

Isn't it possible to generate the ambitus score object in the  'finalize method 
of the engraver and assign it to a header field? One could then use 
   subtitle=\fromproperty #'header:ambitus
to get the ambitus printed.

However, I'm currently stuck at how to obtain the score the engraver is 
assigned to (of course, one could always simply insert into 
$defaultlayout...).
So, given the engraver object (or the associated context), how can I obtain 
the score object or its header layout?

Cheers,
Reinhold
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iEYEARECAAYFAktptCsACgkQTqjEwhXvPN0p5ACgrrnSUQHkBAGmWvUn+cOOMq/o
Ee4AoID5xOp7MdCdI8Wasn5wVRga6RGA
=HINf
-----END PGP SIGNATURE-----




reply via email to

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