godot-demo-projects/audio/bpm_sync/README.md

19 lines
416 B
Markdown
Raw Normal View History

2020-03-09 08:48:22 +01:00
# Audio BPM Sync
A demo of how to sync the audio playback with the time for a consistent BPM.
Language: GDScript
Renderer: GLES 2
## How does it work?
For the sound clock, it uses methods in
[`AudioServer`](https://docs.godotengine.org/en/latest/classes/class_audioserver.html)
to sync the audio playback.
For the system clock, it uses `OS.get_ticks_usec()`.
## Screenshots
![Screenshot](screenshots/bpm.png)