Here’s a trivial example where incoming notes are being converted into CC messages where the CC number is the Note Number and the CC value is the Note Velocity
Here’s a trivial example where incoming notes are being converted into CC messages where the CC number is the Note Number and the CC value is the Note Velocity