As of now Expression Maps don’t yet support Program Changes. However, if you’re using Kontakt you can add Multi-Scripts that can turn MIDI CC commands in Dorico into Program Changes in Kontakt (to take advantage of their instrument banks feature, etc.).
Here is a simple Multi-Script that will allow you to turn a MIDI CC Command to a program change.
Remember everything is ‘0’ based, so CC 3, value 0 will appear as Program Change 001, etc.
Enjoy (replace “X” for desired Controller Lane):
on midi_in if ($MIDI_COMMAND = $MIDI_COMMAND_CC and $MIDI_BYTE_1 = X) set_midi($MIDI_CHANNEL,$MIDI_COMMAND_PROGRAM_CHANGE,$MIDI_BYTE_2,0) end if end on