Hi! I am making an artwork that will run sonic pi 24/7 on a raspberry pi.
I need a sample to play once an hour.
I need another sample to play once a day.
In the meantime it’ll be midi (that works already)
I was going to do this here below, but with very high numbers… (sleep 3,600 for 1 hour, sleep 86,400 for 24 hours) but then it had me thinking… what are the limits here? I am not familiar with ruby.
Is there a maximum run time and maximum sleep time?
live_loop :commemorateSatellite do
with_fx :reverb, room: 1 do
sample :bd_boom, amp: 10, rate: 1
sleep 200 # this is 200 seconds (roughly) right?
I’m sorry if this is stated in the documentation, I could not find it.