ShatteredReality b4c73f4888 Fix README links to asset library (#1078) hai 5 meses
..
screenshots fcc7d5c723 Optimize PNG images using oxipng %!s(int64=4) %!d(string=hai) anos
README.md b4c73f4888 Fix README links to asset library (#1078) hai 5 meses
bpm_sync.gd bac1e69164 Use static typing in all demos (#1063) hai 6 meses
bpm_sync.tscn bac1e69164 Use static typing in all demos (#1063) hai 6 meses
icon.webp 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) hai 1 ano
icon.webp.import 63d1cd9a60 Use 128×128 WebP icons for all demos (#885) hai 1 ano
lcd.ttf e22a46f301 Add a BPM sync tutorial. %!s(int64=5) %!d(string=hai) anos
lcd.ttf.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) hai 10 meses
play_sound_button.png fcc7d5c723 Optimize PNG images using oxipng %!s(int64=4) %!d(string=hai) anos
play_sound_button.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) hai 10 meses
play_sound_button_hl.png fcc7d5c723 Optimize PNG images using oxipng %!s(int64=4) %!d(string=hai) anos
play_sound_button_hl.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) hai 10 meses
play_system_button.png fcc7d5c723 Optimize PNG images using oxipng %!s(int64=4) %!d(string=hai) anos
play_system_button.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) hai 10 meses
play_system_button_hl.png fcc7d5c723 Optimize PNG images using oxipng %!s(int64=4) %!d(string=hai) anos
play_system_button_hl.png.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) hai 10 meses
project.godot bac1e69164 Use static typing in all demos (#1063) hai 6 meses
the_comeback2.ogg e22a46f301 Add a BPM sync tutorial. %!s(int64=5) %!d(string=hai) anos
the_comeback2.ogg.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) hai 10 meses

README.md

Audio BPM Sync

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

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