godot-demo-projects/audio/bpm_sync
ShatteredReality b4c73f4888
Fix README links to asset library (#1078)
This updates all links to point to the 4.2 demos instead of the 3.5 ones.

Co-authored-by: A Thousand Ships (she/her) <96648715+AThousandShips@users.noreply.github.com>
2024-06-24 19:29:58 +02:00
..
screenshots Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
README.md Fix README links to asset library (#1078) 2024-06-24 19:29:58 +02:00
bpm_sync.gd Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
bpm_sync.tscn Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
icon.webp Use 128×128 WebP icons for all demos (#885) 2023-03-29 18:59:57 +02:00
icon.webp.import Use 128×128 WebP icons for all demos (#885) 2023-03-29 18:59:57 +02:00
lcd.ttf
lcd.ttf.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00
play_sound_button.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_sound_button.png.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00
play_sound_button_hl.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_sound_button_hl.png.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00
play_system_button.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_system_button.png.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00
play_system_button_hl.png Optimize PNG images using oxipng 2020-08-16 17:48:38 -05:00
play_system_button_hl.png.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00
project.godot Use static typing in all demos (#1063) 2024-06-01 12:12:18 +02:00
the_comeback2.ogg
the_comeback2.ogg.import Update demo files for Godot 4.2.1 (#1013) 2024-02-01 17:30:08 +01:00

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