The closest thing I found was this device which does the same thing but for notes, i.e., if you send C2, it will output a series of notes in round robin fashion until it exhausts the range you've defined. Seems like it would be easier to start from scratch than try to adapt it. This is what it looks like for reference:

Any clues on how to approach this would be much appreciated.
