Hugo Locurcio 2a962929f3 Update demo files for Godot 4.2.1 (#1013) | il y a 9 mois | |
---|---|---|
.. | ||
screenshots | il y a 4 ans | |
README.md | il y a 4 ans | |
bpm_sync.gd | il y a 1 an | |
bpm_sync.tscn | il y a 2 ans | |
icon.webp | il y a 1 an | |
icon.webp.import | il y a 1 an | |
lcd.ttf | il y a 5 ans | |
lcd.ttf.import | il y a 9 mois | |
play_sound_button.png | il y a 4 ans | |
play_sound_button.png.import | il y a 9 mois | |
play_sound_button_hl.png | il y a 4 ans | |
play_sound_button_hl.png.import | il y a 9 mois | |
play_system_button.png | il y a 4 ans | |
play_system_button.png.import | il y a 9 mois | |
play_system_button_hl.png | il y a 4 ans | |
play_system_button_hl.png.import | il y a 9 mois | |
project.godot | il y a 9 mois | |
the_comeback2.ogg | il y a 5 ans | |
the_comeback2.ogg.import | il y a 9 mois |
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
For the sound clock, it uses methods in
AudioServer
to sync the audio playback.
For the system clock, it uses OS.get_ticks_usec()
.