godotengine/godot-proposals#1151
https://github.com/fire/godot/tree/play-scheduled
https://github.com/fire/godot-schedule-play-demo
Use cases:
- metronome
- graphic that moves towards you and you have to hit in sync to a end line to play a note.
- Playing an audio clip of an chicken cry at 8 am and then a second cry at 8 am and 5 minutes.
Creates silence or a skip version that is inserted before the clip is played.
-
cancelled if I call play or play_scheduled
-
cancelled if I call stop in time
-
get_game_time_msec is monotonic and adding buffer sizes is monotonic
-
so we effectively have a monotonic audio clock
Prior broken work. https://github.com/aleksfadini/godot-flawed-metronome