Using a trigger to select values

Hello!

So I’m slowly getting to know Audulus, and starting building some stuff.
Here’s a simple utility to convert pitch CV from the Buchla world to Euro world… You select from 1, 1.2 or 2 v/octave and the output gives you a 1v/octave pitch cv. There’s also another switch to choose from unipolar to bipolar pitch. (obviousy inspired by the Synovatron CVGT1, this is more of building exercice for me rather than an actual module…)

What I’ve been trying to do is selecting between 3 values with a trigger node. I found a solution with a conditional expression node and some feedback, the trigger node adds one to a value (a) until it reaches the maximum (2) and it goes back to 0.
The envelope is here to prevent the trigger note to gate when you use it.

It seems to work, but I’ve been wondering if there is a more elegant way to do this?

Thank you!

CVGT1.audulus (6.9 KB)

Ok, I guess I should explore the Assorted Logic Modules thread… :man_facepalming:

1 Like

The simplest approach is a S&H based counter combined with the mux/demux.
31%20PM
Count to 2.audulus (9.7 KB)

3 Likes

Yes, thanks it works great for that little project… Now I just need to spend some time in the guts to understand how it really work :slight_smile:

2 Likes