godot-demo-projects/audio/bpm_sync
Aaron Franke f9e7456b70
Add descriptions to all projects with README files
These show up in the project manager when hovering over projects.
2020-03-16 20:50:53 -04:00
..
screenshots Add README files to audio demos 2020-03-09 03:54:32 -04:00
README.md Add README files to audio demos 2020-03-09 03:54:32 -04:00
bpm_sync.gd Add README files to audio demos 2020-03-09 03:54:32 -04:00
bpm_sync.tscn Convert most demos to GLES 2 2020-03-04 20:59:12 -05:00
icon.png Add README files to audio demos 2020-03-09 03:54:32 -04:00
icon.png.import Add README files to audio demos 2020-03-09 03:54:32 -04:00
lcd.ttf
play_sound_button.png Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
play_sound_button.png.import Improved tutorial for sync audio with music, use two approaches. 2019-04-27 15:26:48 -03:00
play_sound_button_hl.png Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
play_sound_button_hl.png.import Improved tutorial for sync audio with music, use two approaches. 2019-04-27 15:26:48 -03:00
play_system_button.png Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
play_system_button.png.import Improved tutorial for sync audio with music, use two approaches. 2019-04-27 15:26:48 -03:00
play_system_button_hl.png Optimize all images using `oxipng -o6 --strip all --zopfli` 2019-06-11 16:40:50 +02:00
play_system_button_hl.png.import Improved tutorial for sync audio with music, use two approaches. 2019-04-27 15:26:48 -03:00
project.godot Add descriptions to all projects with README files 2020-03-16 20:50:53 -04:00
the_comeback2.ogg
the_comeback2.ogg.import

README.md

Audio BPM Sync

A demo of how to sync the audio playback with the time for a consistent BPM.

Language: GDScript

Renderer: GLES 2

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().

Screenshots

Screenshot