|
3 سال پیش | |
---|---|---|
.. | ||
screenshots | 4 سال پیش | |
README.md | 4 سال پیش | |
bpm_sync.gd | 3 سال پیش | |
bpm_sync.tscn | 3 سال پیش | |
icon.png | 4 سال پیش | |
icon.png.import | 5 سال پیش | |
lcd.ttf | 5 سال پیش | |
play_sound_button.png | 4 سال پیش | |
play_sound_button.png.import | 5 سال پیش | |
play_sound_button_hl.png | 4 سال پیش | |
play_sound_button_hl.png.import | 5 سال پیش | |
play_system_button.png | 4 سال پیش | |
play_system_button.png.import | 5 سال پیش | |
play_system_button_hl.png | 4 سال پیش | |
play_system_button_hl.png.import | 5 سال پیش | |
project.godot | 3 سال پیش | |
the_comeback2.ogg | 5 سال پیش | |
the_comeback2.ogg.import | 5 سال پیش |
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()
.