godot-demo-projects/audio/bpm_sync
Aaron Franke fcc7d5c723 Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
..
screenshots Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
README.md Add README files to audio demos 2020-03-09 03:54:32 -04:00
bpm_sync.gd Remove trailing space characters in the formatting script 2020-06-21 23:00:13 -04:00
bpm_sync.tscn
icon.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05: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 PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_sound_button.png.import
play_sound_button_hl.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_sound_button_hl.png.import
play_system_button.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_system_button.png.import
play_system_button_hl.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_system_button_hl.png.import
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