Hi Ethan, I have found two solutions of the sync timing issue, I would like them to be shared and spreaded with others.
The intact description of this sync timing issue is as follows:
If you still need sleep in your live_loops, and it’s a Integer multiple of the cuer loop’s sleep duration, then you always have to wait for another cue! e.g. live_loop A sleeps 2, live_loop B sleeps 8, B syncs with A, then the total cycle of B would be 8 + 2 = 10.
live_loop :A do
play 80
sleep 2
end
live_loop :B do
sync :A
play 50
sleep 8
end
(run the code and you will hear B sounds once every five times A sounds.)
And I found two solutions for it in another link here: