[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Denemo-devel] Scheme question
From: |
Andreas Schneider |
Subject: |
Re: [Denemo-devel] Scheme question |
Date: |
Sun, 26 Oct 2014 08:20:49 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.1.2 |
Am 25.10.2014 um 23:18 schrieb Richard Shann:
> On Sat, 2014-10-25 at 22:10 +0200, Andreas Schneider wrote:
>> Am 25.10.2014 um 21:34 schrieb Richard Shann:
>>> I think you mis-remembered the name of the procedure - display is a
>>> scheme procedure, disp is the Denemo procedure:
>>>
>>> (disp "command " command ", bank " bank ", velocity " velocity)
>>
>> You're right, thank you. Now there is still one thing I do not
>> understand. With the traditional form of (d-GetMidi) as in angry delete,
>> the midi channel is always 0. But if I use the #f option in d-GetMidi to
>> return a byte list (as shown below), the channel is shown correctly.
>
> This is done for backward compatibility - previously written scripts
> could fail if the previous behavior were changed.
> It should be documented in the help of the command ...
I see, the traditional form of d-GetMidi sets the bank to 0. As I use
the new form of d-GetMidi, is there also an option to use d-PutMidi with
the byte array returned by (d-GetMidi #f)?
Andreas