I recently created a cutdown version of my sequencer to sit in my modular.
It’ll create a random 16 step bassline, locked to key/scale and between 1/16 and 1/2 notes.
Has controls for root note, scale, BPM. It sends pitch CV, trigger, and 2PPQN clock.
It also has clock in, so it can be synced to external gear sending 2PPQN clock (POs, Volcas etc).
Code is here:
Will upload a stripboard layout soon.