Very long lfo or clock

I am trying to do an rs-340 emulation and after a way to wait 10 seconds because many of the eurorack trigger delays are 10 seconds and I seem to only have two 5 second delays with two knobs to try to do that.

It’s probably not too difficult to build a module using the math “mod” function to control both with one knob. Set the knob range from 0 to 10,000 and run that through math nodes that calculate mod(“knob value”,5000). Use this result in a output select node (not exactly sure of the name) to control which delay the knob is operating on. then before the 2nd delay subtract 5000 from the knob value. I’d have to try it but I think what this will do is:

  • knob value 0-5000: the select output node index is 0 so values are sent to delay 1 controlling it between 0 and 5000. delay 2 is 0. it hasn’t been touched yet.

  • knob value 5001-10000: the select node index is 1 so the knob values are now sent to the 2nd delay. Since you’re subtracting 5000 from the knob value just prior to the value entering this delay (as described above), the 2nd delay is changed in the range 1-5000.

In this way, one knob controls both:

knob output: 0 - 5000

  • delay 1: 0 - 5000 , delay 2: stays at 0

knob output: 5001 - 10000

  • delay 1: stays at 5000, delay 2: 1 - 5000

Net effect:

  • knob output: 0 - 10000, delay: 0 - 10000

Attached is the file that does this. Sorry, Mod was the wrong function (I knew sending that reply from the couch was a mistake :slight_smile: ). Also, I had to use Clamp functions to keep the knob from going slightly below 0 (even though it’s lower limit is set there). I even saw it go slightly above 5000. Thus the Clamp nodes.

Doing this has highlighted a bug as far as I can tell. One of the CV Delay Lines isn’t updating although the Print node suggests it should. I’ll also post this in the Bug Report section.

1 knob 2 CV Delay Lines.mnprt (26.1 KB)

Edit: Well, something isn’t right because I downloaded this file that I sent you and it is working. Even though it wasn’t when I sent it to you. One of those things that needed to be closed and reloaded perhaps. Although it shouldn’t work that way.

No problem, I’ll increase it to 10 seconds.

thanks