[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Custom drum midi notes (Was: mute percussion notation)
From: |
Simon Albrecht |
Subject: |
Re: Custom drum midi notes (Was: mute percussion notation) |
Date: |
Thu, 24 Mar 2016 16:26:16 +0100 |
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