lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mute percussion notation


From: Thomas Morley
Subject: Re: mute percussion notation
Date: Wed, 23 Mar 2016 13:39:25 +0100

2016-03-23 12:45 GMT+01:00 David Kastrup <address@hidden>:

> I think that the old
>
> drumPitchNames #'slap = #'slap
>
> has worked for a long long time (quite earlier than 2.12).  But it's
> quite underdocumented.  I think it caught me by surprise when I first
> discovered it in the parser.

/lilypond-git (master)$ git grep 'drumPitchNames'
Documentation/misc/ChangeLog-2.10:      * ly/drumpitch-init.ly
(drumPitchNames): add tamtam.
lily/parser.yy:         SCM nn = parser->lexer_->lookup_identifier
("drumPitchNames");
lily/parser.yy:         SCM nn = parser->lexer_->lookup_identifier
("drumPitchNames");
ly/drumpitch-init.ly:drumPitchNames =

Is not exactly what I would call _under_documented.

Though, I'm not sure I understand all yet.

Do the following two lines the same?
drumPitchNames.bla = #'bla
#(set! drumPitchNames (acons 'foo 'foo drumPitchNames))

How to put in a list? The following looks a bit clumsy.
#(for-each
   (lambda (sys) (set! drumPitchNames (acons sys sys drumPitchNames)))
   '(aa ab ac ad ae af)))
#(pretty-print (take drumPitchNames 10))

Thanks,
  Harm



reply via email to

[Prev in Thread] Current Thread [Next in Thread]