Hi there
Probably I am just stupid, but I am apparently not able to create a new Controller in Duplex that maps to the actual device (Zoom R16)
I made a simple ControlMap:
<device><br>
<name>Zoom R16</name><br>
<author>Cylab</author><br>
<description>Controlmap for Zoom R16</description><br>
<parameters><br>
<page><br>
<row><br>
<column><br>
<group name="Buttons" orientation="horizontal"><br>
<param value="A-7|Ch1" type="button" name="Stop" maximum="127" minimum="0">
<br>
<param value="A#7|Ch1" type="button" name="Play" maximum="127" minimum="0">
<br>
</group><br>
</column><br>
</row><br>
</page><br>
</parameters><br>
</device>
I got the A-7 and A#7 notes from the “normal” renoise midi mapping learn mode. I tried with and without channel settings. Harware buttons won’t work Pressing on the GUI buttons do, though.
On the other hand, the midi dump for those buttons actually read
MidiDevice: ZOOM R16_R24 Audio Interface received MIDI 90 5D 7F
MidiDevice: ZOOM R16_R24 Audio Interface received MIDI 90 5D 0
``` and
MidiDevice: ZOOM R16_R24 Audio Interface received MIDI 90 5E 7F
MidiDevice: ZOOM R16_R24 Audio Interface received MIDI 90 5E 0
so how do I enter these?
My lua code looks like this
–[[----------------------------------------------------------------------------
– Duplex.ZoomR16
----------------------------------------------------------------------------]]–
–[[
Inheritance: ZoomR16 > MidiDevice > Device
A device-specific class
–]]
–==============================================================================
class “ZoomR16” (MidiDevice)
function ZoomR16:__init(display_name, message_stream, port_in, port_out)
TRACE(“ZoomR16:__init”, display_name, message_stream, port_in, port_out)
MidiDevice.__init(self, display_name, message_stream, port_in, port_out)
– setup a monochrome colorspace for the Zoom
self.colorspace = {1,1,1}
end
– setup Mixer + Matrix + Effect as apps
duplex_configurations:insert {
– configuration properties
name = “Transport”,
pinned = true,
– device properties
device = {
class_name = “ZoomR16”,
display_name = “ZoomR16”,
device_port_in = “ZOOM R16_24 Audio Interface”,
device_port_out = “ZOOM R16_24 Audio Interface”,
control_map = “Controllers/ZoomR16/ZoomR16.xml”,
thumbnail = “ZoomR16.bmp”,
protocol = DEVICE_MIDI_PROTOCOL
},
applications = {
Transport = {
mappings = {
stop_playback = {
group_name = “Buttons”,
index = 1,
},
start_playback = {
group_name = “Buttons”,
index = 2,
},
}
},
}
}
The device_port attributes do not work either (what must I enter to get the Zoom selected automatically?). If I select them manually (via [settings)], I can get the midi dump, but nothing else happens.
So what do I miss here?