Am 31.05.2015 um 18:18 schrieb Peter Gentry:
[...]

Actually Marc I have revised and simplified the calculation (see attached)  - I 
simply wanted to indicate notes outside the range
modify then to fall inside the range. The colour then gives engraver/player the 
option to play within range or if that is awkward
play rests. I haven't sent to list before to save everyone the fag of looking 
at it again.

I think I fully understand what you want to achieve, but to make this
function more flexible, I still prefer a more general approach, i.e.
storing the ranges in an (extensible) alist, so that I can for example
code

\addInstrument "guitar" < e,, b' > % this is an example, not a working LilyPond command

and use your function for classical guitar, too.

Cheers,

Marc


regards
Peter Gentry



_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to