I think it is possible to create a window bridge tool. The approach would be as follows (for track device controls):
- Create a window tool with multiple controls with variable names, all of them mappable midi, with a global vision to control most devices.
- Create an option to be able to change the device name. Create another option to change the device number.
The tool will detect the device name and number based on the set values.
The tool will automatically assign the proper routing for each variable of the selected device, also changing the name in the window controls as needed.
The user will only map a single tool once. You will only need to change 3 variables to redirect the routing:
- Device name
- and number (position)
I remember this matter was discussed in another thread in the past. Nobody found a way to build it, but my approach could be very successful.
It is not easy to program, but I think it is possible. Involves constantly checking various states and ranges of values to avoid errors. But I think it would be a powerful tool. And if it is possible with track devices, it will also be possible for other devices, I suppose. It is necessary to study the API documentation well before starting.
Name of devices available
 => Audio/Effects/VST/???
 => Audio/Effects/VST/???
 => Audio/Effects/Native/Delay
 => Audio/Effects/Native/Multitap
 => Audio/Effects/Native/mpReverb 2
 => Audio/Effects/Native/Reverb
 => Audio/Effects/Native/Convolver
 => Audio/Effects/Native/Bus Compressor
 => Audio/Effects/Native/Compressor
 => Audio/Effects/Native/Gate 2
 => Audio/Effects/Native/Maximizer
 => Audio/Effects/Native/Analog Filter
 => Audio/Effects/Native/Digital Filter
 => Audio/Effects/Native/Comb Filter 2
 => Audio/Effects/Native/EQ 5
 => Audio/Effects/Native/EQ 10
 => Audio/Effects/Native/Mixer EQ
 => Audio/Effects/Native/Chorus 2
 => Audio/Effects/Native/Flanger 2
 => Audio/Effects/Native/Phaser 2
 => Audio/Effects/Native/RingMod 2
 => Audio/Effects/Native/LofiMat 2
 => Audio/Effects/Native/Distortion 2
 => Audio/Effects/Native/Cabinet Simulator
 => Audio/Effects/Native/Exciter
 => Audio/Effects/Native/Stereo Expander
 => Audio/Effects/Native/DC Offset
 => Audio/Effects/Native/Gainer
 => Audio/Effects/Native/Repeater
 => Audio/Effects/Native/Doofer
 => Audio/Effects/Native/#Line Input
 => Audio/Effects/Native/#ReWire Input
 => Audio/Effects/Native/#Send
 => Audio/Effects/Native/#Multiband Send
 => Audio/Effects/Native/*Instr. Macros
 => Audio/Effects/Native/*Instr. Automation
 => Audio/Effects/Native/*Instr. MIDI Control
 => Audio/Effects/Native/*Hydra
 => Audio/Effects/Native/*Meta Mixer
 => Audio/Effects/Native/*Formula
 => Audio/Effects/Native/*XY Pad
 => Audio/Effects/Native/*LFO
 => Audio/Effects/Native/*Key Tracker
 => Audio/Effects/Native/*Velocity Tracker
 => Audio/Effects/Native/*Signal Follower
Detect the range and names of devides of the selected track and select it
–minimum number of devices of selected track
–maximum number of devices of selected track
–fixed name of first device
renoise.song().selected_track:device(1).name --> TrackVolPan
–fixed name of second device if exist (if it is the “Analog Filter”)
renoise.song().selected_track:device(2).name --> Analog Filter
–select a device if exist (if it is the “Analog Filter”)
Parameters of first track device:
#renoise.song().selected_track:device(1).parameters --> 5
renoise.song().selected_track:device(1):parameter(1).name --> Panning
renoise.song().selected_track:device(1):parameter(2).name --> Volume
renoise.song().selected_track:device(1):parameter(3).name --> Width
renoise.song().selected_track:device(1):parameter(4).name --> Post Panning
renoise.song().selected_track:device(1):parameter(5).name --> Post Volume
Properties of the parameters to control the values:
Change the “Volume” value of the device 1 (TrackVolPan):
- The global maximum number of parameters is 30 (EQ 10 or Repeater).
Convolver looks like an unfinished device!: Impulse, Gain, Start, Length and Resample is not automatable but they are controllable.
- Each device is different, with different ranges.
- The range of non-infinite phisical faders or knobs is 0 to 127.
- The infinite spin knobs can play with +1 or -1 or +10 or -10 … to accelerate.
Do the same for all the parameters of all the devices to be tolerated. The value must always be within the valid range of the parameter. This is very tedious.
Then each object (knob, fader, button) needs to be routed through the MIDI input. Each object must be permanent. This way, you will only assign a full mapping once, and you can save it to a mapping file. And that’s it!
The advantage of this tool is that it would be possible to use any MIDI controller compatible with standard MIDI mapping, as long as it physically has enough controls (knobs, faders, buttons)