Assuming the sequence is coming in as notes in v/8 and you have stored your pattern as notes. you’d need to convert the sequence data to match using N followed by the pattern value. or from whatever data type V VV to match the input
If you were looking to save space, you could consider replacing P.HERE w/ P.NEXT in line 2. Though you might have reasons to use P.HERE and P.NEXT as you have above
this would work similarly (also away from my teletype)
Was thinking a little more about this at work. Another thing to consider, if you are simultaneously triggering shifts in the CV input into teletype and triggering this script you may need to add a delay so that the input has time to update as discussed here (but maybe only worry about that if you run into problems)
also if you were trying to be really efficient you could avoid using Z altogether:
CV 1 ADD N P.NEXT IN or with a delay
DEL 50 : CV 1 ADD N P.NEXT IN
Sounds like your pattern length is only set to 2, either in your initialization script, or in the live editor, execute this command: P.L 64
If you save the scene, the pattern will be updated and you shouldn’t need to do so again. If you aren’t using the PARAM knob for anything yet, you could also have this control the pattern length, which might be fun
This post has me interested in making a step sequencer with one of the trigger ins, that then can also transpose the sequence when playing back with a different trigger in… I’ll have to think over how that’ll work more