is there a simple way to have a trigger being sent to trigger input 1, be multed via software to the other trigger inputs? so every time script 1 is triggered, script 2 is also triggered, for example.

just put

script 2

in your script 1. also, $ is an alias for script. so…

$ 2

would work as well.

5 Likes

wow, duh! thanks so much :grin:

1 Like

my next stupid question of the week! :grin:

trying to work my way through creating a simple generative scene, and am using TOSS to randomly trigger a trigger output on or off. However, I want this trigger to be a short momentary trigger, as opposed to the output being turned ON, then held on until it is next turned off. I thought about using the DELAY and IF commands to make it so whenever the trigger is turned on, there is a set delay and then it is turned off again, but when putting these on the same line I get “mod not allowed here.”

1 Like

Sorry misunderstood the question.

EDIT: try TR.PULSE!

Question about audio rate stuff. If I wanted to XOR two signals, how far into audio rates would the Teletype go? I’m getting a Teletype soon.
I have a few modules that Im wondering if I could replicate. The Benjolin I tend to use at modulation frequencies for its Rungler anyway (XOR and Shift register). I also use a Doepfer PLL for its phase comparator function quite a bit (XOR or RS flip flop based). If I replicated the functionality in a script and then triggered that with a square wave is there any limitations or dangers to the module?

mmmm, you’d have to use METRO at the fastest rate, (once every millisecond) to do this, I think? so the fastest purely theoretical sample rate is 1kHz, not counting whatever computation Teletype would have to do at that rate so… not that fast.

The problem is that doing computation at the limits you might find that the timing isn’t accurate enough for your liking? I doubt you could seriously damage the module, but I’m not an expert.

Using an external square wave to trigger script 1 would be faster than using the metro script, wouldn’t it?

2 Likes

oh you know what, you’re probably right. I guess the sampling time of IN might end up being the limiting factor in that case

@alanza @rikrak Thanks! Ordered a Teletype this morning :slight_smile:

3 Likes

I have a question about DRUNK and setting bounds for it. I know that there’s MIN, MAX, and WRAP operators but in the third study the following is used to achieve the same purpose: MOD DRUNK 5. I’m confused because from what I understand DRUNK 5 will return 4, 5 or 6 but MOD takes two operands. I’m sure I’m just missing something syntax-wise but if anyone could provide clarity on this I’d appreciate it!

MOD takes two values: one, a number (here the output of DRUNK) and the second a divisor, 5. It outputs the remainder of dividing the first by the second, so you’ll get a number between 0 and 4. As you say, there are other ways to accomplish this.

DRUNK typically takes no operands

Ohhh gotcha I was forgetting that in the case that DRUNK returns -1 it would set the value of DRUNK to 4. I also forgot that each time you call DRUNK it resets the value, thanks for clearing that up!

Trying my first Teletype script. Getting an error “Mod not allowed here: DEL” so I’ve stripped it back to:

L 1 8 : DEL I : TR.PULSE 1

Which is still giving the error. Can I not put a DEL command inside a loop like this? Or is the syntax incorrect?

Can’t nest any PRE mods unfortunately! ie, one colon per line. But if you want compound behavior like shown, you call call another script from the first loop.

Ok thanks! Can I be read from a secondary Script that is being called within a Loop? Doesn’t seem to work. I guess I could use the O variable in the secondary script

sounds like you’re on firmware version 2.2. starting with 2.1 each script has its own I variable, so if you want to pass its value to a script called from a loop you’ll need to use another variable, like this: L 1 8: T I; SCRIPT 2, then in script 2 you can do DEL T: ...

starting with v3.0 (currently in beta) when a script is called from another script I gets initialized with the I value from the calling script, so you won’t have to use an extra variable anymore.

5 Likes

Fantastic! Thank you, that’s great information.
I’ve been following the (now) v3 RC thread for a few weeks, the development from the community is what sold me on the Teletype, which arrived a few days ago :slight_smile:

1 Like

what is the best way to get up to date on teletype ops additions/changes since the first version?

i did all of the studies (which were wonderfully educational) on the first version and recently updated to 2.3. i know that there’s a list of commands with all of the latest stuff, but is there a guide on how to use those commands akin to the studies?

1 Like