On 24.03.2016 16:02, Pierre-Luc Gauthier wrote:
% How can I append those bellow to the default list?
% (Instead of replacing the old list)
midiDrumPitches = #`(
                       (key . ,(ly:make-pitch 0 6  FLAT))
                       (cr . ,(ly:make-pitch 1 1 NATURAL))
                       (bell . ,(ly:make-pitch 1 5 NATURAL))
                       )

An alist being a list of list you should be able to write

midiDrumPitches = #(append midiDrumPitches
                     `((key . ,(ly:make-pitch 0 6  FLAT))
                       (cr . ,(ly:make-pitch 1 1 NATURAL))
                       (bell . ,(ly:make-pitch 1 5 NATURAL))
                       ))

HTH, Simon

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

Reply via email to