You have to change how the plugin is used in Sonar.
I am running on mental fumes this morning, so if I whiff on this, someone please kindly correct my info for the poster - and thanks.
You want to tell reconfigure the plugin properties so that Sonar uses it as a SYNTH, rather than an AUDIO plugin. To do this:
1. Remove the plugin from your track.
1. Go to Utilities>Cakewalk Plugin Manager.
2. Once there, find the audio plugin you want to change, highlight it, then click (under VST Configuration) on Plug-in Properties. This will open up the VST Plug-in Properties dialog box.
3. You will see a check box for 'Configure as synth'. Check the box for that and click OK. I believe you may have to rescan your plugins, as well, to pick up the change you just made.
Once the above is done, you should be able to re-insert the plugin, but this time, you want to insert it as a SOFT SYNTH, rather than an audio plugin.
I am out of time for the moment - my 16-year old 6'8" son got invited to practice with the Georgetown University varsity team this morning, so I have to leave to go do that with him. I am hoping someone else can finish assisting you.
The part that is remaining to explain is on how to set things up to control the synth-configured plugin to respond to the controller data from your pedal.
Bob Bone