|
From: | Simon Albrecht |
Subject: | Re: Custom drum midi notes |
Date: | Fri, 25 Mar 2016 22:03:43 +0100 |
On 25.03.2016 17:47, David Kastrup wrote:
Pierre-Luc Gauthier <address@hidden> writes:2016-03-24 11:26 GMT-04:00 Simon Albrecht <address@hidden>: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)) ))Scheme 101 I guess. It sure did the trick!Anything wrong with midiDrumPitches.key = bes' midiDrumPitches.cr = d'' midiDrumPitches.bell = a'' Look Ma, no Scheme!
Brilliant. This is a really great development :-) Simon
[Prev in Thread] | Current Thread | [Next in Thread] |