Am 26.10.2014 um 09:42 schrieb Richard Shann: > On Sun, 2014-10-26 at 08:20 +0100, Andreas Schneider wrote: >> 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)? > > I didn't add that (yet), looking at the code I notice there are two > commands > > (d-PutMidi value) > and > (d-OutputMidi value) > the second of these directly outputs the MIDI event value to the MIDI > out, the first does something trickier: > 1) it turns off any MIDI filter > 2) simulates the arrival of the value as if it came from the MIDI in > device > 3) turns back on any MIDI filter that was active.
That is good to know. So I can use d-OutputMidi to send a message to my master keyboard (e.g. to toggle LEDs). d-PutMidi is the right command if NoteOn or NoteOff messages come in (as done in AngryDelete). Now I have to figure out how to use them with a byte array. Andreas _______________________________________________ Denemo-devel mailing list [email protected] https://lists.gnu.org/mailman/listinfo/denemo-devel
