godot-demo-projects/audio/bpm_sync
Aaron Franke 7e129db12e
Use "not" instead of the exclamation mark in GDScript files
Also add String casts
2021-07-04 03:46:21 -04:00
..
screenshots
README.md
bpm_sync.gd
bpm_sync.tscn
icon.png
icon.png.import
lcd.ttf
play_sound_button.png
play_sound_button.png.import
play_sound_button_hl.png
play_sound_button_hl.png.import
play_system_button.png
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
play_system_button_hl.png.import
project.godot
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

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/581

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