|
il y a 2 mois | |
---|---|---|
.. | ||
screenshots | il y a 4 ans | |
README.md | il y a 9 mois | |
bpm_sync.gd | il y a 10 mois | |
bpm_sync.gd.uid | il y a 1 semaine | |
bpm_sync.tscn | il y a 1 semaine | |
icon.webp | il y a 2 ans | |
icon.webp.import | il y a 2 ans | |
lcd.ttf | il y a 6 ans | |
lcd.ttf.import | il y a 1 semaine | |
play_sound_button.png | il y a 4 ans | |
play_sound_button.png.import | il y a 1 an | |
play_sound_button_hl.png | il y a 4 ans | |
play_sound_button_hl.png.import | il y a 1 an | |
play_system_button.png | il y a 4 ans | |
play_system_button.png.import | il y a 1 an | |
play_system_button_hl.png | il y a 4 ans | |
play_system_button_hl.png.import | il y a 1 an | |
project.godot | il y a 1 semaine | |
the_comeback2.ogg | il y a 6 ans | |
the_comeback2.ogg.import | il y a 1 an |
A demo of how to sync the audio playback with the time for a consistent BPM.
Language: GDScript
Renderer: Compatibility
Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2757
For the sound clock, it uses methods in
AudioServer
to sync the audio playback.
For the system clock, it uses OS.get_ticks_usec()
.