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
.com/WAS-Re-handbells-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

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

2014-05-26 Thread David Kastrup
David Nalesnik writes: > On Mon, May 26, 2014 at 7:54 AM, Simon Albrecht wrote: > >> >> 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

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 Nalesnik
On Mon, May 26, 2014 at 8:33 AM, David Nalesnik wrote: > countOccurrences = > > #(define-scheme-function > > (parser location lst) > > (list?) > > (let* ((pitch-list (sort (delete-duplicates lst) ly:pitch > (tabulation (make-list (length pitch-list) '( > Of course, tabulation

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 wrote: > > 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 omitting the pitchname

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 welcome

[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-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 wou

Re: handbells

2014-05-25 Thread David Nalesnik
On Sun, May 25, 2014 at 10:06 AM, David Nalesnik wrote: > (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) (cond ((null? lst)

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 Date: Sun, May 25, 2014 at 9:52 AM Subject: Re: handbells To: mark damerell Hi again, On Sun, May 25, 2014 at 5:43 AM, mark damerell wrote

Fwd: handbells

2014-05-25 Thread David Nalesnik
On Sun, May 25, 2014 at 9:52 AM, David Nalesnik wrote: > To make a part for an individual player, you call \colorPitch, > That would be \colorPitches... ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypon

Re: handbells

2014-05-24 Thread David Nalesnik
Hi Mark, On Sat, May 24, 2014 at 1:18 PM, mark damerell wrote: > 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 o

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-23 Thread David Kastrup
mark damerell 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 problem

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