Ok... the first test version is ready. Can be it does not work at all since I can not test it, but you can
FunctionalityAlmost the same as build-in preset for Alphatrack, generated with default setting but...
F4 button changes the Fader and Right encoder into "Fader CC writing" mode (and back). In that mode:
* you should see "CC 1" on display over the right encoder
* right encoder change which CC the fader will control (for now 1 and 11, can be extended up to 127). Just an idea (if you need it): I can also change MIDI Channel on which CC will be sent, f.e with Shift+Encoder. But for the moment, the channel is fixed to 1.
* the fader send selected CC messages, so 0 to 127 (the fader is hi resolution, but CC values are not).
Note that there is no "feedback" in this mode since it is impossible to get "last CC value" from Sonar even theoretically (imagine MIDI input is enabled on several tracks, each with different "current" value for selected CC). Once the mode is changed to "normal", feedback should return the fader into correct position. But it should not "reset" itself in CC mode.
Installation* You need
0.5r3b342 or later version of AZController. Currently it is not yet released, so download it from "Downloads/AZ Controller/Test versions".
* You need some software "loopback" MIDI device. I use "loopMIDI", but there are several free solutions which work for all Windows versions. There are many instructions how to set them in Windows and Sonar, but if you have problems with that let me know (better in other thread since that is not Alphatrack/AZController related). The result of the installation should be one "LoopIn" and one "LoopOut" enabled in Sonar such a way that sending to "LoopOut" should produce MIDI from "LoopIn". Also "LoopIn" should be enabled explicitly or as "Omni" on target MIDI track to have any effect.
1. Follow instructions for build-in Alphatrack preset (the first post in this thread) and check it is working.
2. Add the SECOND instance of AZ Controller into Sonar Control Surfaces, setting Input to "None" and output to "LoopOut".
3. Close properties for the first instance (if you have it opened, important!) and open properties for the second instance (f.e. from Sonar menu Utilities/AZ Controller-2). Without touching anything in the "presets" section (the top of the window), switch to the "Options" tab, find drop box where you see "Master" and change it to "Slave 1". Without (!!!) saving preset close this window (and never open again, till you remove that second instance and want restore the settings later, just repeat the procedure in this case).
4. Download and install preset attached to this post, install it using Cakewalk Plug-in Manager in Utilities menu (select there "Control Surfaces" / "AZ Controller" / "Import..." / select the file and press "Ok").
5. Open properties of the first instance (where you have generated AT preset). In the top left corner, select "AlphaTrackWithCC" preset. If you do not see it here, restart Sonar and try to find it again.
6. What I have described before should work now.
NOTE: most Sonar versions "forget" MIDI port assignments for Control Surfaces if the port is not available during Sonar startup (and unlike other use of MIDI, that setting does not return after sonar restart). And unlike connecting hardware surfaces, it is easy to forget to start MIDI looper before Sonar. So if CC sending no longer works, Control Surfaces ports is the first place to check.
Happy automating!