Skip to content

Add an improved sound scheduling demo (scheduled metronome)#1210

Open
PizzaLovers007 wants to merge 1 commit intogodotengine:masterfrom
PizzaLovers007:scheduled-metronome-v2
Open

Add an improved sound scheduling demo (scheduled metronome)#1210
PizzaLovers007 wants to merge 1 commit intogodotengine:masterfrom
PizzaLovers007:scheduled-metronome-v2

Conversation

@PizzaLovers007
Copy link
Contributor

@PizzaLovers007 PizzaLovers007 commented Jun 6, 2025

This is the demo used to showcase the implementation of DSP time and play_scheduled() from godotengine/godot#107226.

Things to try:

  • Swap between play and play_scheduled for the metronome ticks.
  • Adjust max FPS to showcase the effect on the metronome.
  • Change the "Song Beat Count" to dynamically change the loop (play_scheduled only)

The metronome sound was recorded by Ludwig Peter Müller in December 2020 under the "Creative Commons CC0 1.0 Universal" license, and all other assets were made by me.

Compared to #1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.

This should not be merged in until godotengine/godot#107226 is merged.

Compared to PR 1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

new demo waiting for godot PRs that can't be merged until an engine PR is merged first

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants