Here’s a script which treats input[1] as a clock, input[2] for data, and lets you switch between different modes and clock divisions for each of the four outputs by changing up options in a user data table (think Pam’s New Workout). You can also change the options in real-time from Druid, Max etc
Options include a S+H, slewed S+H (slew time set by input clock rate), stepped random, slewed random (slew time set by input clock rate), a few different LFO waveshapes, a trigger pulse, etc, a sequence, a quantizer, etc.