Re: handbells

2014-05-28 Thread mark damerell
Thanks to David Nalesnik who has solved my problem. Mark ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-27 Thread Paul Morris
David Nalesnik-2 wrote FWIW, here's something which tabulates the notes used in an excerpt and presents them in ascending order. Hi David, Nice work! Would be a good addition to the LSR I think. -Paul -- View this message in context: http://lilypond.1069038.n5.nabble.com/WAS-Re-handbells

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread Simon Albrecht
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

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread David Nalesnik
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

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread David Nalesnik
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

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread Pierre Perol-Schneider
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

Re: [WAS: Re: handbells] Tabulating notes used in a score

2014-05-26 Thread David Kastrup
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

Fwd: handbells

2014-05-25 Thread David Nalesnik
On Sun, May 25, 2014 at 9:52 AM, David Nalesnik david.nales...@gmail.comwrote: To make a part for an individual player, you call \colorPitch, That would be \colorPitches... ___ lilypond-user mailing list lilypond-user@gnu.org

Fwd: handbells

2014-05-25 Thread David Nalesnik
Oops, Forgot to reply all... (Messages to the list are now slightly out of sequence.) -- Forwarded message -- From: David Nalesnik david.nales...@gmail.com Date: Sun, May 25, 2014 at 9:52 AM Subject: Re: handbells To: mark damerell markdamer...@googlemail.com Hi again

Re: handbells

2014-05-25 Thread David Nalesnik
On Sun, May 25, 2014 at 10:06 AM, David Nalesnik david.nales...@gmail.comwrote: (Something could be worked out for enharmonics, I suppose.) OK, this handles enharmonics: \version 2.18.2 #(define (get-pitch elt) (ly:music-property elt 'pitch)) #(define (extract-pitches lst result)

Re: handbells

2014-05-25 Thread David Nalesnik
Hi again, Thinking about this some more, I realized that there is a bit of redundant calculation going on: the pitches to be colored are extracted each time the function \colorPitches is called. While the wasted time probably wouldn't be noticeable with the two or three notes a handbell player

[WAS: Re: handbells] Tabulating notes used in a score

2014-05-25 Thread 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 welcome. --David \version 2.18 #(define (get-pitch elt)

Re: handbells

2014-05-24 Thread mark damerell
The file I posted is only intended as a tiny file to show my current problem. I could post something longer but I dont think this would give the experts any better idea of my problem. In outline, I wanted to print out a \score with the handbell music in plain black, collecting information as it

Re: handbells

2014-05-24 Thread David Nalesnik
Hi Mark, On Sat, May 24, 2014 at 1:18 PM, mark damerell markdamer...@googlemail.comwrote: The file I posted is only intended as a tiny file to show my current problem. I could post something longer but I dont think this would give the experts any better idea of my problem. In outline, I

Handbells

2014-05-23 Thread mark damerell
I was trying to write a template for printing music for handbells. What I want is: Conductor gets a full score. Each handbell ringer gets a part with the handbell music in a piano staff, and his or her notes highlighted in colours. My current problem is shown by this file: BEGIN \version 2.18.2

Re: Handbells

2014-05-23 Thread David Kastrup
mark damerell markdamer...@googlemail.com writes: I was trying to write a template for printing music for handbells. What I want is: Conductor gets a full score. Each handbell ringer gets a part with the handbell music in a piano staff, and his or her notes highlighted in colours. My current