mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
.. | ||
screenshots | ||
bpm_sync.gd | ||
bpm_sync.tscn | ||
icon.png | ||
icon.png.import | ||
lcd.ttf | ||
play_sound_button_hl.png | ||
play_sound_button_hl.png.import | ||
play_sound_button.png | ||
play_sound_button.png.import | ||
play_system_button_hl.png | ||
play_system_button_hl.png.import | ||
play_system_button.png | ||
play_system_button.png.import | ||
project.pandemonium | ||
README.md | ||
the_comeback2.ogg | ||
the_comeback2.ogg.import |
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
to sync the audio playback.
For the system clock, it uses OS.get_ticks_usec()
.