Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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 godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
@PizzaLovers007 PizzaLovers007 force-pushed the scheduled-metronome-v2 branch from 87e5fb0 to b934217 Compare June 6, 2025 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants