Teletype : Transpose to pattern

Thinking through how to set up Teletype to transpose an incoming sequence to a pattern, e.g: move through chord changes.

I’ve looked through examples and have come up with the following. I’m away from the modular, so haven’t tested. I’m sure there are problems.

Z IN
CV 1 ADD P.HERE Z
P.NEXT

My plan would to store the interval changes in a pattern.

Any thoughts?

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)

Z IN
CV 1 ADD N P.NEXT Z

1 Like

Ok. So I wasn’t too far off. Will give this a go later. Thanks!

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

1 Like

Here’s what I have, using @tambouri’s suggestions:

I

P.N 0

1

 P.NEXT

8

DEL 50 : CV 1 ADD N P.HERE IN
TR.PULSE A

Feeding the sequence to be transposed into the IN jack. Triggering jack 1 with a reset or gate on step 1. Triggering jack 8 with gate for each step.

Works as intended EXCEPT I can only get pattern positions 0 and 1. I’m not yet sure how to define the actual positions in the pattern.

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 :slight_smile:

1 Like

Thanks, @xeric. I missed P.L. That should do the trick. I’ll update the code here once I get a chance to test, etc.

1 Like

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

1 Like

Thanks for the info !! I wasted so many lines in my scripts because of this.

1 Like