pandemonium_demo_projects/audio/bpm_sync/README.md

21 lines
507 B
Markdown
Raw Permalink Normal View History

# Audio BPM Sync
A demo of how to sync the audio playback with the time for a consistent BPM.
Language: GDScript
Renderer: GLES 2
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/581
## 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)