Yes thanks for your support Anderton,
I can now confirm that it's a bug in Sonar, I have no doubt on it because I can see all the MIDI message in my MIDI debugging environment (I'm a programmer, i have a script that capture all the MIDI messages in a MIDI IN port in real time)
When I start the song, Sonar sends the first control change two times, so that's the reason why my footswitch was toggling On/Off instead of staying On
In the Sonar Event List View, the dedicated track send 2 Control Change
Event 1 : CC#52 / Value : 0 / Channel : 1
Event 2 : CC#53 / Value : 0 / Channel : 1
In my MIDI capture software I capture 3 messages in a row (should be 2 messages)
Message 1 : 176,52,0 (OK)
Message 2 : 176,52,0 (The bug) Not expectedMessage 3 : 176,53,0 (OK)
Not sure if sending a CC#0 is the way to go, I will try to find a more 'stable' solution.
Thanks !
SteFetS
post edited by stefets - 2018/12/01 04:09:58