Re: [frogs] Re: Numeric note heads for singers |
[ Thread Index |
Date Index
| More lilynet.net/frogs Archives
]
- To: "pounderd@xxxxxxxxxxx" <pounderd@xxxxxxxxxxx>
- Subject: Re: [frogs] Re: Numeric note heads for singers
- From: Neil Puttock <n.puttock@xxxxxxxxx>
- Date: Sun, 10 Jan 2010 23:42:21 +0000
- Cc: Ian Hulin <ian@xxxxxxxxxxxx>, "lilypond-user@xxxxxxx" <lilypond-user@xxxxxxx>, "frogs@xxxxxxxxxxx" <frogs@xxxxxxxxxxx>, c_sorensen@xxxxxxx
- 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 :content-transfer-encoding; bh=QexOP6k+Z9K1ouRFTh4v8dpUONOp38f+p+mcTtu6VRs=; b=SQ7F0E0U5M6k6cR2ON3sGb/P3MQFDZGwIMYJiSMHfQZSu4TIeuDrDv9v3ccKgwhuew +lEKdaPwzUL10UN7Cxy7nejrdU4x6d8MnNgl2FrK0gcla0e/feB4riHDMBP4+ASHNitG go/lgmN71tk6QCiMk0J6dZ0h302xFDzbDhHAE=
- 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:content-transfer-encoding; b=vyKZTEpZWiqbjkEuU9CsKzXqMG4JDqYaOphW7QY2eQtl4yvTnCsS9oQqp29ROXQ9gW VBs2Xj6Y8a8txlz8WrpQIXj9aK/QWa+INCxisvSpgOWJ3Xb+avtiufl+2oRR6/VYY0+e x+06ujqXkSByQdRxLJL8sFWMYyRi91ILZFhwc=
2010/1/10 pounderd@xxxxxxxxxxx <pounderd@xxxxxxxxxxx>:
> Actually, the new scheme engraver functionality is so good that the
> code below seems to do the trick.
Great!
> Unfortunately, it doesn't demonstrate
> very much of what can be done with engravers,
Well, I did say it would be a gentle introduction. :)
> but I can turn it into a
> snippet if it would be useful.
Please do.
If you look in snippets/new, you'll see all the current snippets which
use features from the development version (so they can't go directly
in the LSR). All you need to do is cook up an example in the same
format (there's a README which explains a few details, such as the
tagging), and create a patch for us to review. If you have any
problems or need some guidance, let me or Carl know.
Once the snippet's been added, we can probably use it as a selected
example in the Notation Reference.
> (note-names
> (map
> (lambda (x)
> (list->string
> (list
> (integer->char
> (+ 1 delta (char->integer #\0))))))
> '(0 1 2 3 4 5 6))))
> (ly:grob-set-property! grob 'note-names (list->vector note-
> names)))))))))
This is rather nifty, but it would be much simpler just to create the
vector directly:
(make-vector (number->string (1+ delta)))
Cheers,
Neil
---
----
Join the Frogs!