Several notes about Matrix in Sonar and pad controllers (I guess CW has never tried to use that combination during development...)
* Most MIDI trigger pads have LEDs under pads. There is no way to use them in Sonar (in Matrix view).
* In case you never use SoftSynth in your project, the following is non issue, otherwise... There is nasty general bug in Sonar MIDI learning, for which I have found only partial workarounds:
a) "MIDI Learned" controls are not blocking assigned MIDI. F.e. in case you use C4 for your first cell and it happened you set current MIDI track to "Omni", C4 not only will start/stop the cell, but also play note in your synth. Especially "funny" with CCs, some of them (f.e. 7) simply turn off the sound of the synth without any visual indication.
b) "MIDI Learned" controls are not bound to particular device. So, if you assigned C4 from APC Mini, C4 from your keyboard will also trigger the cell
Workarounds:
For (a):
1. carefully assign input device for each MIDI track (instead of default omni). Easy to forget and assigned device can be disconnected, reverting input to omni... The same problem as when using VSTs with MIDI output enabled (I call that Sonar MIDI routing nightmare)
2. Use AZ Controller to block whole device or particular controls from "leaking" into MIDI tracks. When trigger device has additional controls (like ACP Mini), the "bonus" of this method is a possibility to use these controls for something (f.e. Volume, Mute, Solo, when used such way, LEDs can be used to indicate current status. But I repeat, Control Surface API has no access to the Matrix).
For (b):
1. while Matrix react on any device, you can select on which channel it react. So you put trigger device on channel 1 and your keyboard on channel 2, then keyboard will not trigger cells. In case trigger device is not configurable (like APC Mini), you are forced to keep keyboard outside of channel 1, which can be inconvenient since it also will record MIDI with other channel (many people record always on one channel and that channel is 1, helps when combining different clips, also imported MIDI is usually on channel 1).
2. if Trigger is configurable, it make sense to use CC (hi numbers) instead of keys. Such CCs, unlike keys, are normally not in use when you play SoftSynth in parallel with matrix.