[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Artificial harmonics with sounding pitch in parenthesis
From: |
Tom Hall |
Subject: |
Re: Artificial harmonics with sounding pitch in parenthesis |
Date: |
Mon, 12 Jan 2009 22:21:04 +0000 (UTC) |
User-agent: |
Loom/3.14 (http://gmane.org/) |
Carl D. Sorensen <c_sorensen <at> byu.edu> writes:
> 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).
thanks Carl, with some prodding I've now written my first lily scheme function
as below, seems to work fine, was surprised that I could just plonk in
\parenthesize as below.
harmonicPitch = #(define-music-function (parser location note)
(ly:music?)
#{
\once \override Voice.Stem #'stencil = ##f
\once \override Voice.NoteHead #'font-size = #-4
\parenthesize
$note
#})
> If you can't figure it out, ask a question or two.
>
> HTH,
Yes indeed!
Tom
> Carl
>
- Artificial harmonics with sounding pitch in parenthesis, Tom Hall, 2009/01/12
- Re: Artificial harmonics with sounding pitch in parenthesis, Jonathan Kulp, 2009/01/12
- Re: Artificial harmonics with sounding pitch in parenthesis, Jonathan Kulp, 2009/01/12
- Re: Artificial harmonics with sounding pitch in parenthesis, Tom Hall, 2009/01/12
- Re: Artificial harmonics with sounding pitch in parenthesis, Carl D. Sorensen, 2009/01/12
- Re: Artificial harmonics with sounding pitch in parenthesis, Jonathan Kulp, 2009/01/12
- Re: Artificial harmonics with sounding pitch in parenthesis,
Tom Hall <=
- Re: Artificial harmonics with sounding pitch in parenthesis, Carl D. Sorensen, 2009/01/12