-Tabulating-notes-used-in-a-score-tp162770p162830.html
Sent from the User mailing list archive at Nabble.com.
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
Am 26.05.2014 03:47, schrieb David Nalesnik:
Hi all,
FWIW, here's something which tabulates the notes used in an excerpt
and presents them in ascending order.
I think this might be useful in handbell music (which the example
assuredly is not).
Any suggestions for improving this are
Simon,
On Mon, May 26, 2014 at 7:54 AM, Simon Albrecht simon.albre...@mail.dewrote:
The version statement should be \version 2.19, since the music contains
standalone durations like @code{ ees4~ 16 }, which can’t be handled by 2.18.
True, didn't notice that. Also interesting is that
On Mon, May 26, 2014 at 8:33 AM, David Nalesnik david.nales...@gmail.comwrote:
countOccurrences =
#(define-scheme-function
(parser location lst)
(list?)
(let* ((pitch-list (sort (delete-duplicates lst) ly:pitch?))
(tabulation (make-list (length pitch-list) '(
Of
Very nice exercise.
Well done and thanks David.
Pierre
___
lilypond-user mailing list
lilypond-user@gnu.org
https://lists.gnu.org/mailman/listinfo/lilypond-user
David Nalesnik david.nales...@gmail.com writes:
On Mon, May 26, 2014 at 7:54 AM, Simon Albrecht simon.albre...@mail.dewrote:
The version statement should be \version 2.19, since the music contains
standalone durations like @code{ ees4~ 16 }, which can’t be handled by 2.18.
True, didn't
Hi all,
FWIW, here's something which tabulates the notes used in an excerpt and
presents them in ascending order.
I think this might be useful in handbell music (which the example assuredly
is not).
Any suggestions for improving this are welcome.
--David
\version 2.18
#(define (get-pitch elt)