Re: [frogs] Re: Numeric note heads for singers |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: Carl Sorensen <c_sorensen@xxxxxxx>
- Subject: Re: [frogs] Re: Numeric note heads for singers
- From: Neil Puttock <n.puttock@xxxxxxxxx>
- Date: Thu, 7 Jan 2010 22:17:34 +0000
- Cc: "pounderd@xxxxxxxxxxx" <pounderd@xxxxxxxxxxx>, Lilypond Frogs List <frogs@xxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=R9djHhmsiNCY3ksm0PqZQAWa4BbwpINVPluxBWpBwKM=; b=clxeq5HCV2N5PY+ExdooDTnnxFmWiHUIoDWdQ/EsuThNAzJdEA6R+fVXih7wW44LhP UTXk/vCRX5YN1uu1Y3BLo9Yyxtcj5XCYUu8XbhtGVLn/pmcKYVrMH2zryZv0B0Ebq5F8 e4uLmvqsrTBFH0b0irlKMkbGRQtSBmO8Qidls=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Z0oVS9+x29HA1hDDgzEm96tJN56bZ7kYyU5TiIvr8VsHBHT5iZ3vEy9fliAU2hE9zx a8azT94Sm6oboxGynPFlyXKpWkTzdH/KH4VhFbic1kmGHbSrZJiqpHq9fd8g78hA6y5o Ld8ODj/bNPJxRCSpcYb1Rmv04Bf0lr98QCTj4=
2010/1/7 Carl Sorensen <c_sorensen@xxxxxxx>:
> Then, at line 106, the scale degree that is used to look up
> shape notes is calculated as delta.
>
> My thought was that we could then do
>
> note->set_property ("scale-degree"", scm_from_int (delta));
>
> Then, when it's time to do the easyShapeNoteHead, we can get the scale
> degree of the note-head by checking its scale-degree property.
>
> Why is this a bad approach?
The delta can't be greater than seven unless you rewrite it just for
easy heads, so it's no more useful than setting 'note-names to a basic
vector.
If you look at the mock-up on David Olson's website
(http://www.hosorembo.com/Lily/Lilindex.html), the starting pitch is a
F sharp above middle C. At one point the melody reaches the F sharp
an octave above, which is labelled `8'. Therefore unless the user can
specify the start pitch in advance, there's no way for LilyPond to
decide which pitch represents the origin.
Regards,
Neil
---
----
Join the Frogs!