Switching patches with midi program change


#1

Hello all, and a big thanks to everyone that are contributing to Axoloti. I've been using it for simple synth sounds for a while, but it wasn't until yesterday I finally got around to exploring the board properly. I'm having tons of fun, but ran into a newbie issue I haven't been able to solve yet.

I want to be able to switch patches using program change messages from my controller. It works with CCs, like this:

But when I try to use the pgm object shown in the image instead, it does not. Is there any way to monitor what is output from the pgm? I assume it is not the program change value since it isn't behaving, so what is pgm outputting?


#2

The easiest way to debug your patches is to use the objects in the disp folder. The disp/i object in the screenshot shows the output from the midi/in/pgm object. Note that the clip in Ableton live is set to program 4, and is displayed as 3 in the Axoloti patcher.


#3

Ah, perfect. Exactly what I was looking for, thanks!

I just tried it, and I did in fact get the program change value as an integer. So I reconnected the pgm object again, and now it works!. So whatever was giving me an error before appears to have been fixed by itself. :smile: