|
From: Mark K. <mar...@gm...> - 2005-03-01 17:57:21
|
Hello, My LS script files to date have used only a couple of MIDI commands: CREATE MIDI_INPUT_DEVICE ALSA SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS="64:0" SET CHANNEL MIDI_INPUT 0 0 0 0 The first two are documented in the LCSP document online but the last one isn't. Could someone tell me what the four parameters are? I had been guessing that it was the following: SET CHANNEL MIDI_INPUT <sampler-channel> <MIDI_INPUT_DEVICE #> <MIDI_INPUT_DEVICE port-number> <MIDI-channel-number> but it doesn't seem correct: CREATE MIDI_INPUT_DEVICE ALSA OK[0] SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS="64:0" OK SET MIDI_INPUT_PORT_PARAMETER 0 1 ALSA_SEQ_BINDINGS="64:32" ERR:0:There is no port 1 So, how do I bind my second MIDI input to LS? I'm trying to go beyond 16 MIDI inputs on LS now. QJC shows: 64: MIDI 1 -> 0: MIDI 1 -> 32: MIDI 2 Why isn't the 32: a second port? I changed the script to say: CREATE MIDI_INPUT_DEVICE ALSA SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS="64:0" SET MIDI_INPUT_PORT_PARAMETER 0 0 ALSA_SEQ_BINDINGS="64:32" which works (graphically - untested with MIDI as of yet) according to QJC but looks sort of wrong to me. When is a port a port? Thanks, Mark |