Hi there,
I have a slightly odd question. I’m using TD to send OSC data to a eurorack module that accepts OSC. This works fine if I set up some sendOSC calls in onValueChange, but the module struggles with accepting multiple simultaneous values, so I’d like a short (couple of ms) delay between each one. The usual python time.sleep() doesn’t seem to work though. Any suggestions?
In case this doesn’t make sense, here’s the code in question:
op('oscout3').sendOSC('/europi_1/cv1',[float(op('lfo1')[0])])
//short delay needed here and between each subsequent call
op('oscout3').sendOSC('/europi_1/cv2',[float(op('lfo2')[0])])
op('oscout3').sendOSC('/europi_1/cv3',[float(op('lfo3')[0])])
op('oscout3').sendOSC('/europi_1/cv4',[float(op('lfo4')[0])])
op('oscout3').sendOSC('/europi_1/cv5',[float(op('lfo5')[0])])
op('oscout3').sendOSC('/europi_1/cv6',[float(op('lfo6')[0])])
To clarify what’s happening, europi is the eurorack module and I’m sending the values of six different LFOs to its six inputs. If I send one or two at a time it works perfectly. I’ve had the same timing issue with the module when sending via SuperCollider, which led me to implement a short delay between each line there, so basically I just need to know how to do the equivalent in TD…