I'd like to use midi controller to adjust various things in DAW (Mixbus). Sometimes I want to adjust plugins (at least zynaddsubfx and surge), sometimes Mixbus controls itself. Because amount of possible knobs is higher that number of knobs in midi controller (9 sliders + 8 pots), mappings need to be changed pretty often. Therefor mapping all one by one is not practical.
So to make things fast to change, I want to use some midi 2 osc gateway program. Program should have text config, so that I can edit that config, and start gateway with suitable config. And when synth sound is adjusted to be what I want, stop gateway, and start with different config, doing mixing. And for next project, I change strip id's and plugin id's, and everything works again for same plugins.
Now I would like to hear suggestions for:
- OSC client for getting osc strings: What is strip id, what is plugin id, what are controls there?
- Suitable midi2osc gateway program
What to use for converting midi to OSC?
Moderators: MattKingUSA, khz
-
- Established Member
- Posts: 2059
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 374 times
- Been thanked: 209 times
- Contact:
What to use for converting midi to OSC?
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
- 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: What to use for converting midi to OSC?
You could use Python with liblo for OSC and Mididings for MIDI support.
For example, the following script accepts MIDI commands and then signals Ardour via OSC to switch to timeline markers and start/stop playback.
https://github.com/noedigcode/ArdourSongSwitcher
I assume this will work with Mixbus also since it is based on Ardour.
For example, the following script accepts MIDI commands and then signals Ardour via OSC to switch to timeline markers and start/stop playback.
https://github.com/noedigcode/ArdourSongSwitcher
I assume this will work with Mixbus also since it is based on Ardour.
-
- Established Member
- Posts: 2059
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 374 times
- Been thanked: 209 times
- Contact:
Re: What to use for converting midi to OSC?
In ubuntu package liblo-tools contain oscdump and oscsend for testing and finding what to adjust.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM
-
- Established Member
- Posts: 2059
- Joined: Tue Feb 16, 2016 6:56 am
- Location: Kangasala, Finland
- Has thanked: 374 times
- Been thanked: 209 times
- Contact:
Re: What to use for converting midi to OSC?
Mididings would contain also osc support, so it would be possible to use it for conversion. However, conversions does not seem to be that simple. In Mixbus, EQ and Compressor are plugins, and for setting parameters for plugins, they are referred with numbers. And when EQ is after other plugins, it varies on what location it is. Therefore it would need querying data from mixbus to find where plugin is. And at least according to docs, mididings does not support such.noedig wrote:You could use Python with liblo for OSC and Mididings for MIDI support.
For example, the following script accepts MIDI commands and then signals Ardour via OSC to switch to timeline markers and start/stop playback.
https://github.com/noedigcode/ArdourSongSwitcher
I assume this will work with Mixbus also since it is based on Ardour.
Linux veteran & Novice musician
Latest track: https://www.youtube.com/watch?v=ycVrgGtrBmM