Re: [frogs] Re: Numeric note heads for singers |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
Thanks for the pointers. I already found the code in note-heads-
engraver.cc but hadn't managed to find output-lib.scm. I'll see if I
can figure out what's going on and will shout if I get stuck.
Regards,
David.
>----Original Message----
>From: c_sorensen@xxxxxxx
>Date: 04/01/2010 23:22
>To: "pounderd@xxxxxxxxxxx"<pounderd@xxxxxxxxxxx>, "Lilypond Frogs
List"<frogs@xxxxxxxxxxx>
>Subj: [frogs] Re: Numeric note heads for singers
>
>
>David,
>
>I'd love to have you jump in on this.
>
>I think you need to look at the code that produces all of the special
note
>heads in scm/output-lib.scm.
>
>Standard easy note heads are created by note-head::brew-ez-stencil.
>
>You could write a note-head::brew-shape-note-ez-stencil to do the
honors, or
>alternatively, you could just use standard ez note heads with a
number
>indicating the scale degree instead of with a letter. If you look
>brew-ez-stencil, you'll see that letter is a markup of the pitch-
string. If
>shapeNotes is active, then you'd do the same markup with the scale
degree.
>So you just need to figure out how to get the scale degree.
>
>The current code for getting the scale degree is found in
>ly/note-heads-engraver.cc, lines 98-114.
>
>Have a look at these areas, and let me know if I can answer more
questions.
>
>Thanks,
>
>Carl
>
>
>On 1/4/10 3:24 PM, "pounderd@xxxxxxxxxxx" <pounderd@xxxxxxxxxxx>
wrote:
>
>> Carl,
>>
>> If no-one else has taken you up on this, I'd quite like to give it
a
>> go. Although I studied computer science a couple of decades ago, I
>> don't really have any experience with software projects larger than
the
>> single-programmer scale but am a bit familiar with C, C Sharp and
ML -
>> not quite C++ and Scheme but should be able to get there
eventually.
>>
>> So far, I'm looking into the 'style' property in 'define-grob-
>> properties.scm' which seems to be used by the stencil callback, but
>> I've not quite figured out where the stencils are defined.
>>
>> Can you let me know if you're happy for me to go further?
>>
>> Regards,
>>
>> David
>>
>>> ----Original Message----
>>> From: c_sorensen@xxxxxxx
>>> Date: 03/01/2010 17:00
>>> To: "David Olson"<david@xxxxxxxxxxxxxxxx>, "lilypond-user@xxxxxxx"
>> <lilypond-user@xxxxxxx>
>>> Cc: "Lilypond Bugreports"<bug-lilypond@xxxxxxx>, "frogs@lilynet.
net"
>> <frogs@xxxxxxxxxxx>
>>> Subj: Re: Numeric note heads for singers
>>>
>>>
>>>
>>>
>>> On 1/3/10 1:35 AM, "David Olson" <david@xxxxxxxxxxxxxxxx> wrote:
>>>
>>>>
>>>> (1) Easy notation for singers
>>>>
>>>> The easy notation feature is designed for instrumentalists:
>>>>
>>>> <
>>>> http://lilypond.org/doc/v2.12/Documentation/user/lilypond/Note-
>> heads#Easy-nota
>>>> tion-note-heads>
>>>>
>>>> i.e., it inscribes the letter value inside the notehead.
>>>>
>>>> Is there a way to inscribe numbers instead of letters?
>>>>
>>>> A cappella singers, learning how to sight-sing -- I need to teach
>> them how to
>>>> think in terms of "degrees of the scale".
>>>>
>>>> (There isn't anyplace on our throats where we can put our fingers
>> to make an
>>>> "e" or an "a").
>>>
>>>
>>> Easy shape-note heads (with a scale degree instead of the shape,
or
>> maybe
>>> with a larger head and a scale degree written inside of it) should
be
>> a very
>>> easy change to make.
>>>
>>> I'd like to invite any frogs looking for a project, or any user
who
>> would
>>> like to get more into the internals, to try starting with this
>> project.
>>> Please let me know by email if you'd like to take it on, and I'll
be
>> happy
>>> to help you get started with it.
>>>
>>> I've also copied this to bug-lilypond so one of our bugmeisters
can
>> create
>>> an enhancement request.
>>>
>>> Thanks,
>>>
>>> Carl
>>>
>>>
>>>
>>> _______________________________________________
>>> lilypond-user mailing list
>>> lilypond-user@xxxxxxx
>>> http://lists.gnu.org/mailman/listinfo/lilypond-user
>>>
>>
>>
>>
>>
>> 2009: A year in review - http://www.tiscali.co.uk/2009
>>
>
>
>---
>----
>Join the Frogs!
>
>
2009: A year in review - http://www.tiscali.co.uk/2009
---
----
Join the Frogs!