i tried multiple options ....
Option 1:
My keyboard is connected to the Midi-In interface of my pc , and the midi-out is connected to a midi analyzer.
On my keyboard i Select Sound nr3.
The Program change is send to the pc, and as i selected the midi track it is forwarded out to the midi-out interface.
The same Program change is send out , but directly after that, the cakewalk sends also a program change with value 0.
Option 2:
i selected the midi track, opened the even viewer and added an entry (Program change nr 3.
This is again send out , and also the program change 0..
Option 3 , is as you mentioned using the insert bank/patch.
As Bank Select select method , selected Control 0 (which is correct), entered a bank nr and selected a sound.
gain same ebhaviour , On controller 0 the bank nr is send correctly , but on the program change the sound nr is send and an other program change with value of 0 .
I used a simple program (Pocket Midi)to test the used midi interfacec ( i tried 2 different models/types without any differen behaviour.
I choose the menu option Program change, there you give the Midi Channel ,Bank MSB value(Controller 0) and the program nr.
When i then hit Send, all the correct values are send , the correct sound in the correct bank is selected.
This rules out that it could be an issue with the midi (interface) drivers...
I am using version 2025.11 Build 068
I Hope this explains all what i tried during the troubleshooting and why i suspect an issue with Cakewalk Sonar.
regards
Eddy