not sure why you need to use pattern bank 1? if i understand correctly, you want to cycle through the notes that are pressed, correct? and you’re using trigger 2 as the arpeggiator clock?
Yes, that is what I try to do.
Let’s say midi notes 2 3 and 7 a currently pressed, pattern 0 would look like this: 0 0 1 1 0 0 0 1 ...
The first 2 lines of script 2 transform that to pattern 1 which results in 2 3 7
I did not find a way to jump to the next 1 in pattern 0 (something like W EZ PN.NEXT 0: K PN.I is an infinite loop and slows down teletype extremely).
Storing only the second pattern would be even nicer for further manipulations.
ah i see. yeah, i don’t think you could copy non zero elements to a different bank in one script, you need a loop and a condition and you can’t combine both on one line. but you could implement it with one pattern bank: set the pattern length to 64 in the init script:
and change your scripts 2&3 to this:
L 1 P.L: SCRIPT 3
IF P.HERE: CV 1 N P.HERE
IF P.HERE: TR.P 1
IF EZ P.HERE: P.NEXT
script 2 starts by finding the next non zero element by calling script 3 up to (length - 1) times (we don’t need to search more as we’ll end up on the same step). if we do find a non zero step, we set the CV and output a trigger and move to the next step.
also can confirm that 16n works when connected to teletype via USB. i would advice against connecting it directly though, since teletype might not be able to provide sufficient power, so use something to power it externally (like monome switch, 2 > 1 module, ext5v, offworld or a USB y-cable).
Hi! i have been playing around with the Midi In ops, really cool!
I was wondering if teletype can only receive midi trough the usb port.
I have a successful connection between teletype and a disting ex.
I have a midi expander connected to the disting, which is connected to the teletype via i2c.
Im probably fantasising but could the midi messages coming into disting be transmitted to the teletype?
Or is the usb port the only port way to get midi into teletype at the moment?
it works with midi twister, so there is a good chance it’ll work with midi fighter as well. and you could try and pack 2 actions in each script, so then you could have 16 different triggerable actions.
just make sure your power supply provides enough power if you connect directly! also if you have an older revision teletype, it might not be able to provide sufficient power (teletype might freeze or restart - no harm, you’ll just have to unplug and power cycle).
i tried my faderfox controllers with teletype and it worked great! pretty crazy to be able to use something like pc12 with its 72 knobs.
Damn, scriptable midi to CV or i2C? I am speechless.
Is there anyway to indirectly connect to another host (I know host-to-host won’t work) so that I can receive midi from ableton/renoise? I had signed up and intended to purchase crow for exactly this purpose (midi from renoise to i2c).
not the cheapest solution, but i’m using iConnectMIDI4+ exactly for this purpose, MIDI from renoise to iConnectMIDI4+, which is connected directly to teletype that sends divided MIDI clock to a trigger output and translates CCs to voltages on 5 telexo modules.
Hi @scanner_darkly i wanted to ask you, is there a midi op that scales the value of the controller?
Say i have a midi fader sending cc 1 with values from 0 to 127, and i would like to scale that so i can use the fader to control the number of steps of pattern 1 on the teletype to 8 steps
Param.scale 1 8 ??
scratching my head over this…