I’m not a scripting guru, but you can, for example, use a rackspace script to move a knob widget’s value a little bit on every beat (and modify it to send CC values).
A basic example gig file you can download in this blog (the bonus rackspace): Gig Performer | Working with panels and widgets
Also make sure to check out this blog: [blog] The most flexible MIDI processing