well i admit i was cheating when i came up with the last solution.
when i wrote play the sequence twice. this really isnt a solution since the length of the sequence couldn’t neccesarily be determined in this fashion.
something else would need to be happening. what exactly i’m not sure.
in order for it to be open ended, and to expand on in the future. the whole process would need to be analyzing the input process in realtime along with placing the input in realtime like a rubber band being stretched onto a group of wheels whose axles are already grouped with rubber bands. (wheels being notes, axles being location)
rubberband being the pattern.