Odd program change with Synthesiser


#1

I’m trying to figure out how my synth should respond to MIDI program changes. I have a subclass of Synthesiser, with handleProgramChange overridden, but it always receives a value of 0.

Here’s some console output with Logic sending a program change 7 and then 3…

— MySynth::handleController: controller: 0, value: 0
— MySynth::handleController: controller: 32, value: 7
— MySynth::handleProgramChange: 0

— MySynth::handleController: controller: 0, value: 0
— MySynth::handleController: controller: 32, value: 3
— MySynth::handleProgramChange: 0

Interestingly, my AudioProcessor::setProgramChange() never gets called.

Anyone know what’s going on?


#2

Disregard. Sorry. Please remove this.