Aaron Franke 7e129db12e Use "not" instead of the exclamation mark in GDScript files 3 سال پیش
..
screenshots fcc7d5c723 Optimize PNG images using oxipng 4 سال پیش
README.md d4bf89d364 Link to the asset library from the README of each demo 4 سال پیش
bpm_sync.gd 7e129db12e Use "not" instead of the exclamation mark in GDScript files 3 سال پیش
bpm_sync.tscn 814909538f Update projects to Godot 3.3 3 سال پیش
icon.png fcc7d5c723 Optimize PNG images using oxipng 4 سال پیش
icon.png.import 8cdddc87ce Add README files to audio demos 5 سال پیش
lcd.ttf e22a46f301 Add a BPM sync tutorial. 5 سال پیش
play_sound_button.png fcc7d5c723 Optimize PNG images using oxipng 4 سال پیش
play_sound_button.png.import ceefc33fe4 Improved tutorial for sync audio with music, use two approaches. 5 سال پیش
play_sound_button_hl.png fcc7d5c723 Optimize PNG images using oxipng 4 سال پیش
play_sound_button_hl.png.import ceefc33fe4 Improved tutorial for sync audio with music, use two approaches. 5 سال پیش
play_system_button.png fcc7d5c723 Optimize PNG images using oxipng 4 سال پیش
play_system_button.png.import ceefc33fe4 Improved tutorial for sync audio with music, use two approaches. 5 سال پیش
play_system_button_hl.png fcc7d5c723 Optimize PNG images using oxipng 4 سال پیش
play_system_button_hl.png.import ceefc33fe4 Improved tutorial for sync audio with music, use two approaches. 5 سال پیش
project.godot 814909538f Update projects to Godot 3.3 3 سال پیش
the_comeback2.ogg e22a46f301 Add a BPM sync tutorial. 5 سال پیش
the_comeback2.ogg.import e22a46f301 Add a BPM sync tutorial. 5 سال پیش

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