This is the Modep community. I’m still figuring things out myself, but I’d recommend starting by searching the forums for your answer? It would probably help to know what kind of midi controller your using, whether it’s connected via the DIN ports or USB, and what settings you’re running. It sounds like Patchbox is at least recognizing the controller for some things? Is everything sending CC?
You could try seeing if this post has any relevant information. This post also has some useful stuff to dig through.
The best way to go about it is to use the little magnifying glass while you’re in the “modep” section of the forum. If you type in “midi” it should give you all the midi topics specifically within the modep category.
Okay, so to clarify: you can in fact select parameters across multiple pedals, the problem is that you want 1 “pedal” (I’m assuming you mean an expression pedal vs a footswitch) to control multiple parameters.
So ideally you want to say, be able to select a parameter somehow, and then the the means to control those parameters would be assigned to the expression pedals on your footswitch?
If this assumption is correct, the problem isn’t a modep one, your pedal will only be able to send one midi cc message at a time and what channel that is, whether its a note or CC, and whether it’s momentary or a hold depends on the controller. I know my controller has its own software that I use to assign these things.
As far as “selecting any midi channel goes” and a learn function, can you be more specific? As far as I can tell modep doesn’t have any midi channels that cant be used, and again, if you want to change what message your pedal is sending you do at via your controller, not modep.
at software level, there is no reason why a controller could not affect multiple parameters
also the selection like toggling a midi button “on/off” seems another limitation…I cant even indicate which CC is linked to what parameter so moding my pedal so it sends multiple control changes won’t fix the issue
another point is that modep allows for multiple controls to be “MIDI” linked…the midi standard has more than one single ON/OFF feature
fyi : I built my own pedal, based on an arduino that sends a CC, but that’s not the problem
If you want to assign any type of parameter to an actuator of a MIDI Controller connected to your MOD device you must select the “MIDI” tab, press save and interact with the desired actuator (for example: push the button or turn the knob).
Ah yes I understand now. Sadly I do not know the answer to why current Midi mapping restricts control to one parameter per CC assignment, but Id also love to be able to map multiple things to 1 knob.
Based on the documentation, It clearly is possible using the actual MOD hardware knobs, so I assume there’s a reason that midi is more restricted, but I wouldn’t know why.
Hopefully one of the more experienced folk will chime in.
This is how it’s implemented for some reason in mod-host (this is a link to our fork of MOD Devices mod-host repository):
It first goes through the list of MIDI mapped CC parameter changes, and in case it finds on to work with for the current message, it processes it and stops further handling like MIDI learning, which is just after this block.
I don’t know why it was made this way, maybe there’s some special case to avoid somewhere by not allowing multiple mappings of same CC, but we can find that out! It’s easy to workaround, in just 13 steps:
git clone https://github.com/BlokasLabs/mod-host
cd mod-host
nano src/effects.c (or use any other editor at your convenience, it’s a huge file!)
Comment out line 1716, so it looks like this: //handled = true;
Comment out line 1735, so it looks like this: //break;
Make a local copy of modep-mod-host.service, so it overrides the default one: sudo cp /usr/lib/systemd/system/modep-mod-host.service /etc/systemd/system/
Edit it to point it to the locally built mod-host binary: nano /etc/systemd/system/modep-mod-host.service, change:
I’d suggest just giving it a try for a little while and check if you get any issues because of the change.
Then if it’s all fine, float the idea on the MOD Devices forum and see what the developers say. From the code history, the general structure of that part seems to haven’t changed much since original version, so maybe there is no technical reason to prevent one control to many controls mappings.
MODEP is just a slightly customized variation of the MOD open source software, stuff like having hardware specific features that won’t work on a plain Pi disabled, and is ready to install and run on Raspberry Pi’s.
Thanks for the instructions @Giedrius! I was actually working with the source from MOD repos, but I was still able to make it work by modifying the lines you mentioned.
Just in case anybody wants to do this on their own, the line numbers mentioned below have changed since the post was made.