Here's a crude CAL script that will indirectly tell you which channels are used or not -- if there are 0 channel events, then that channel is unused. Which means -- no midi events. It's still possible there is some empty track assigned to a midi channel for input or output. You must select all midi tracks for this to work, or you could use it only for a group of selected tracks.
Copy & paste into notepad or some text editor, save it under Cakewalk Content/Sonar Platinum/Cal Scripts" -- or whereever your cal scripts live.
;; show_channel.cal Count Midi Channels for selected events.
;;
(do
(include "need20.cal") ; Require version 2.0 or higher of CAL
(int c1 0) ; counters
(int c2 0) ; counters
(int c3 0) ; counters
(int c4 0) ; counters
(int c5 0) ; counters
(int c6 0) ; counters
(int c7 0) ; counters
(int c8 0) ; counters
(int c9 0) ; counters
(int c10 0) ; counters
(int c11 0) ; counters
(int c12 0) ; counters
(int c13 0) ; counters
(int c14 0) ; counters
(int c15 0) ; counters
(int c16 0) ; counters
(forEachEvent
(switch Event.Chan
0 (do
(+= c1 1 ) )
1 (do
(+= c2 1 ) )
2 (do
(+= c3 1 ) )
3 (do
(+= c4 1 ) )
4 (do
(+= c5 1 ) )
5 (do
(+= c6 1 ) )
6 (do
(+= c7 1 ) )
7 (do
(+= c8 1 ) )
8 (do
(+= c9 1 ) )
9 (do
(+= c10 1 ) )
10 (do
(+= c11 1 ) )
11 (do
(+= c12 1 ) )
12 (do
(+= c13 1 ) )
13 (do
(+= c14 1 ) )
14 (do
(+= c15 1 ) )
15 (do
(+= c16 1 ) )
)
)
(pause " Ch 1: " c1 " Ch 2: " c2 " Ch 3: " c3 " Ch 4: " c4 " events" )
(pause " Ch 5: " c5 " Ch 6: " c6 " Ch 7: " c7 " Ch 8: " c8 " events" )
(pause " Ch 9: " c9 " Ch 10: " c10 " Ch 11: " c11 "Ch 12: " c12 " events" )
(pause " Ch 13: " c13 " Ch 14: " c14 " Ch 15: " c15 " Ch 16: " c16 " events" )
)