Follow

Added intersection detector to cv-utils. It just outputs a trigger when the two input signals cross.

The algorithm is *way* better than the one in turns' quad-lfo, so I'll probably remove it from turns, but I need to find a way to rhizome-ify it (so it can compare every input to every other input for any number of inputs)

gitlab.com/daveriedstra/cv-uti

#faust code is pretty cryptic but here it is if you're curious 

hyst = 0.001; // 1ms rise, 1ms fall
gt = _ >= _;
new_cross = gt <: _ xor _';
process = new_cross : en.ar(hyst, hyst);

I found a way to do the rhizoming but it's miserable because routing in Faust is like pulling teeth. Also I think this kind of combinatorial thing is the kind of thing I'd've learned to do if I actually went to school for computer science (instead, it took me quite a while). Anyway, I'll convert it to Rust, and hopefully it'll be in cv-utils sometime tomorrow.

#faust code is pretty cryptic but here it is if you're curious 

@dried what does that do? Thanks!

#faust code is pretty cryptic but here it is if you're curious 

@kat it takes two signals as input and outputs one signal with trigger impulses every time the inputs cross each other. Useful for generating rhythms from LFOs. (Will be even more useful with a clock quantizer.)

Sign in to participate in the conversation
SoNoMu

SoNoMu (Sound Noise Music) is a mastodon instance for musicians, sound-artists, producers of any kind of aural noise, songwriters, bedroom producers, sonic manglers and algorave livecoders. -> more...