Ok, so I'm not having a lot of luck with this...
I was thinking of some possibly better ideas and I think it might be better to send one note - #127 - at a timed interval with a random note velocity. That particular note doesn't seem to cause the light boxes to go nuts and trigger built in patterns and such.
I've been working with the time feature and thought a script I called 'trigger' which is like this should work:
Code: Select all
if(time % 20 ==20)noteout(0,3,64,0);
The idea being to send every 20 seconds a note out on interface 0, note 3 (this is connected to a light so i can see if it is outputting data - the working version would use 127), velocity 64 and channel 1. Doesn't seem to be doing it though.
I also tried using the rand feature hoping to generate a random velocity between zero and 100 - but not sure if I was implementing it correctly:
Code: Select all
if(time % 20 ==20)noteout(0,3,(rand()*100),0);
Didn't work either. I've tried setting the execution to On Frame and On Expression - but still no joy.
Am I correct in that just having a script like this (but working) should be able to send a note every timed interval or does it have to be triggered by something else?
Thanks in advanced for any help!