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

Follow

#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);

#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...