Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change Pedalboard via MIDI #9

Open
gallochri opened this issue Apr 12, 2021 · 5 comments
Open

Change Pedalboard via MIDI #9

gallochri opened this issue Apr 12, 2021 · 5 comments

Comments

@gallochri
Copy link

Is it possible to change pedalboard via midi?

@rreichenbach
Copy link
Contributor

Yes. Program Change messages coming into the MIDI port should change the pedalboard active in MOD. The bad news is that the pi-Stomp software (separate from MOD) doesn't currently listen to incoming MIDI messages, so the LCD will not reflect the pedalboard change. It certainly could. Feel free to submit an issue to request adding that functionality.

@gallochri
Copy link
Author

I can't find which channel to send "Program Change" messages to change pedalboards.
Is there a log of incoming midi messages?

@rreichenbach
Copy link
Contributor

pi-stomp specific software doesn't log messages coming in, only the messages it generates. You could likely use a midi utility like amidi with the dump option, but that doesn't seem to work for me. Also, I'm not seeing Mod respond to PC messages. It did at one time, but it seemed they might have changed that or there's some setting required to enable it.

@ozbenh
Copy link
Contributor

ozbenh commented Nov 1, 2021

Talking of which, when the board is changed via the web UI, this is also not reflected in pi-stomp... should we also expect a MIDI message ? Otherwise is there a way to poll MOD for the current board and adapt ?

@rreichenbach
Copy link
Contributor

There is no MIDI message sent when the pedalboard is changed via MOD UI. And the communication between pi-stomp software and mod-ui/mod-host has been unidirectional via the rest API defined by mod-ui/webserver.py (woefully incomplete BTW). For their own hardware, MOD does register callbacks for keeping the hardware in sync with the MOD UI. I've had plans to do something similar, but haven't invested the time. But yes, it's not very nice that at least pedalboard and preset changes from MOD UI are not synced on the pi-stomp. A few months ago, I did create a polling based solution for pedalboard changes. I've not discovered a similar hook for preset/snapshot changes, but I suppose pedalboard changes would be better than nothing. I'll find and post that change once I find the SD card that has it (never pushed it).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants