Supernova4422 / Light-Show-Toolkit-

A toolkit to make and play light shows using a variety of hardware devices! The documentation is currently being updated, more than happy to be contacted for more information
1 stars 1 forks source link

Change delay feature to work off as an offset of the original start time #5

Closed Supernova4422 closed 7 years ago

Supernova4422 commented 7 years ago

The function should work as follows: When a song starts, record the time. When a wait function starts, add the "wait time" to an integer, and pause until: "CurrentTime" > "start time + "sum wait time"

This ensures that if a method takes longer than expected, the rest of the actions do not go out of sync as well.