Thanks a lot for spelling this out @shellfritsch! I will try experimenting with millivolts in relation to cents and see what I can come up with.

One of the Teletype studies does just that (i.e. explains how to use patterns to define scales).

Ok awesome! I’ve only gone through the first three, so I will scan/ try to finish them up.

It’s in the 7th one :
https://monome.org/docs/modular/teletype/studies-7/

1 Like

Hmm, is a quantiser a tool that provides a note value/voltage based on an index, or a tool that rounds an incoming voltage to the nearest note in a scale? The solutions above solve for the former definition, I think that it would be easy enough to solve for the other sense by using two columns of the patterns as a lookup table, and spin through the first column based on an input voltage, and use the second column as the lookup.

1 Like

Quick example quantiser. Pentatonic minor.

4 Likes

Thank you @GoneCaving!!!

Hi, is it possible to program the frequency intervals in a sequence?
let’s say I have a cv sequence of 5 notes and I want to
play the 1st then then the 2nd after 20 sec the 3d after 1 min etc…
Thanks

Two ways i would think about doing that. Either way, store the note values and intervals in a pattern. Then either have a script play the note, advance the pattern, and call itself with the interval using DEL. Or, have the script called from the metronome, and have the script change the metronome interval.

2 Likes

I just performed a show where I controlled three voices from the modular and played guitar. Thought this would be a good place to share how I used teletype to make that happen.

First, I tuned each of the voices to a pitch and kept that the same throughout the performance. I then took every song and found (up to) 4 notes that would randomly cycle (using the N operator) based off the root note of the voice that would be in key for each song. So the patterns look something like

// for song 1
0 2 3
2 5 3
6 8 3
7 2 0
// for song 2
1 4 5
4 7 6
3 2 0
8 2 0
// etc....

I then had a param knob that I scaled down to correspond to each of the 8 songs that were part of the set. I made use of RRAND to choose notes (1 + n) - (4 + n) of the pattern, where n was the knobs position multiplied by 4. In other words, for song 1, it would pick from notes 1-4, 2 from notes 5-8, etc.

I also used the position of the knob to pulse the trigger outputs (and thus flash the led) so that I could tell which position the knob was at rather than just guess. Trigger out 1 would flash for songs 1 and 5, 2 for songs 2 and 6, etc. I did this by using the modulo operator to “wrap” the sequence to the 4 leds I had access to. My param knob was 0-7, so ADD MOD PARAM 3 1 will convert that to 1-4 wrapping.

This LED flashing ended up being a really smart idea, because the knob I used was on the TXi, and had some i2c feeze-up a couple times. I knew if I didn’t see an led, I needed to power cycle! :slight_smile:


I’m glad I took the time to do this rather than try to manually tune the oscillators between songs (which would have been a lot more stressful). Before the next show I want to add some sort of calibration position to the param knob so that I can tune the oscillators and not be paranoid when transporting the system that a knob is going to get moved and mess things up!

15 Likes

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