Hi,
My workstation has four MIDI controller knobs, which can be turned endlessly and I would like to use them to control my DAW/sequencer.
Every little turn of the knobs triggers a MIDI event, but only the values 1 or 65 are shown as an output (screenshot is attached). When I switch the turning direction, the output value changes immediately from 1 to 65 or the other way around. When I use the knobs with my workstation, a wide range of values can be reached.
The four knobs behave the same, the only difference is the second hexcode in white letters. The screenshot shows 10, the other knobs show 11, 12, 13. Four proprietary DAWs are preconfigured in my workstation and can be chosen, but the behavior of the knobs stays the same.
Is there any chance to filter/change the MIDI events to create a range from 0 to 127 or any other solution?
Any help is appreciated.
Frank
MIDI controller / filter for turning knobs with two values?
Moderators: MattKingUSA, khz
- noedig
- Established Member
- Posts: 239
- Joined: Wed Feb 12, 2014 4:39 am
- Location: South Africa
- Has thanked: 9 times
- Been thanked: 54 times
Re: MIDI controller / filter for turning knobs with two values?
It is possible with mididings if you're okay with some scripting.
I would post an example, but I just discovered that it's not in the Ubuntu repositories anymore and there's a few snags to get it to build.
I would post an example, but I just discovered that it's not in the Ubuntu repositories anymore and there's a few snags to get it to build.
- milo
- Established Member
- Posts: 1242
- Joined: Wed Sep 06, 2017 2:55 am
- Location: Southern Utah, USA
- Has thanked: 275 times
- Been thanked: 218 times
- Contact:
Re: MIDI controller / filter for turning knobs with two values?
You also may find what you need here: http://x42-plugins.com/x42/x42-midifilter
- MyLoFy
- Established Member
- Posts: 85
- Joined: Sat Jun 27, 2020 8:10 am
- Location: Berlin
- Has thanked: 24 times
- Been thanked: 40 times
Re: MIDI controller / filter for turning knobs with two values?
QMidiRoute does also a pretty good job converting and filtering MIDI events. I use it to run automation of synths or ardour controls with my faderport.
- noedig
- Established Member
- Posts: 239
- Joined: Wed Feb 12, 2014 4:39 am
- Location: South Africa
- Has thanked: 9 times
- Been thanked: 54 times
Re: MIDI controller / filter for turning knobs with two values?
Those are good tools to have in your toolbox, but it doesn't look like they can solve this issue.
A memory of each CC must be kept, and when receiving a 65, it must increase the stored value and output it. When receiving a 1, it must decrease the stored value and output it. The output must be limited between 0 and 127.
Some more scripting solutions in addition to mididings:
- Ardour supports Lua scripting to create a "DSP script" that could do MIDI processing
- Reaper supports JSFX plugins, which are basically scripts that run as plugins and could do MIDI processing
- https://www.osar.fr/protoplug/ - Lua scripting in a VST plugin
- As a last resort (although it's actually quite simple) a JACK MIDI program can be created in C which does this.
A memory of each CC must be kept, and when receiving a 65, it must increase the stored value and output it. When receiving a 1, it must decrease the stored value and output it. The output must be limited between 0 and 127.
Some more scripting solutions in addition to mididings:
- Ardour supports Lua scripting to create a "DSP script" that could do MIDI processing
- Reaper supports JSFX plugins, which are basically scripts that run as plugins and could do MIDI processing
- https://www.osar.fr/protoplug/ - Lua scripting in a VST plugin
- As a last resort (although it's actually quite simple) a JACK MIDI program can be created in C which does this.