lilypond-user
[Top][All Lists]
Advanced

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

Re: Artificial harmonics with sounding pitch in parenthesis


From: Carl D. Sorensen
Subject: Re: Artificial harmonics with sounding pitch in parenthesis
Date: Mon, 12 Jan 2009 14:51:31 -0700



On 1/12/09 10:21 AM, "Jonathan Kulp" <address@hidden> wrote:

> Tom Hall wrote:
>> Thanks Jon
>> 
>> that was really helpful. From your post and lily docs, I've cobbled together
>> the
>> following below, which seems to work OK, aiming to use a global variable to
>> save
>> some space.
>> 
>> A question about this: is there a way to move the parenthesisation
>> (\parenthesize) to within the global variable harmonicPitch, similary to how
>> the
>> small notehead is there specified, rather than having to specify both
>> \harmonicPitch and \parenthesize in the body of the temporary voice?
>> 
> 
> This sounds like a job for scheme, but I don't have the skills to create
> it.  I thought it might be possible to use the scheme hack in the LSR
> that allows you to apply one articulation to all of the notes inside a
> pair of braces, but it didn't work.  Other experiments I've tried in the
> last 15 minutes have all failed.  Sorry :(  Maybe someone else
> interested in this will create something.  Best,
> 

Yes, this is a job for scheme, because parenthesize is a music function, and
it needs to have music following it.  That's why you can't move it into an
identifier.


The custosNote example in Section 6.1.2 of the Notation Reference should
give you the pattern you need to use to define a music function
harmonicParenthesize (or hP for short, if you desire).

If you can't figure it out, ask a question or two.

HTH,

Carl





reply via email to

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