Hi all. I’ve recently come across Patchbox and Modep having been playing with PureData for a while both with TouchOSC and I think it’s a great piece of sofware but I have a couple of questions I’ve not been able to find the answers too.
Basically, I have a PI 3B+ running headless (modep in a browser for pedalboard setup), a Behringer UCA-222 USB card, an AKAI MPKmini mk2 controller and TouchOSC running from a mobile phone for other controls not on the MPKmini.
I have a single pedalboard setup in modep that has an AMSynth, a FluidGM Drums and a FluidGM Pianos - amongst other bits-n-poieces. Now I what to be able to toggle the synth, drums and piano ideally from the phone through TouchOSC so I can switch between them. I don’t really want to switch pedalboards as I’m using a looper on the board as well and want to combine/overlay all instruments one at a time.
When I use a Toggle button in TouchOSC the button triggers the CC midi msg for the specific instrument but it doesn’t stay ON. As soon as I release the button it goes OFF and so does the instrument. I’ve tried various things in the OSC editor e.g the Toggle button using a value, touch, local feedback on/off but nothing seems to allow it to stick on. Any ideas? When not connected to the patchbox the buttons do stay on until toggled - but obviously nothing happens. I can use the MPK controller for sending the CC msgs but I would prefer to use the phone.
Secondly, I’m not using PiSound but I’d like to be able to use the Amsynth and step through/or choose specific presets - like the next/prev button scripts for PiSound. Program Change messages from the MPK don’t seem to go through to the synth and in modep I can’t ‘MIDI Learn’ against the presets to be able to assign them to something. Is there a way this can be done?
I know it’s a long shot but I wondered if I could somehow get a conventional OSC message out of TouchOSC (e.g. /preset/BriansBank01_050_Peavey) that contained a preset name in Amsynth and then somehow on patchbox ( the tricky bit) intercept that message in a script (shell or python) then fire a URL request (as the modep web interface does to 'http://patchbox.local/effect/preset/load//graph/amsynth_1?uri=http%3A%2F%2Fcode.google.com%2Fp%2Famsynth%2Famsynth%23BriansBank01_050_Peavey5&_=1593003250166) to actually change the preset, then I could define all the presets I want in TouchOSC and switch between them.
Any help would be appreciated and sorry for the long post.