-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Add a sound scheduling demo (scheduled metronome) #1199
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
Add a sound scheduling demo (scheduled metronome) #1199
Conversation
Quick question on the web export: is threads enabled? The demo needs threads since it's controlling max FPS, and |
329f562
to
2c136b3
Compare
@adamscott I forget, do you know? |
I would recommend defaulting to like 10 fps so the changes are obvious. |
2c136b3
to
88fa7fa
Compare
Sure thing, changed it to 10. |
Threads are enabled on CI: https://github.com/godotengine/godot-demo-projects/blob/master/.github/dist/export_presets.cfg#L24 |
Compared to godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Compared to godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Compared to godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Compared to godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Compared to godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Closing this one in favor of #1210. |
Compared to godotengine#1199, this includes a "Song Beat Count" that dynamically changes the loop, which utilizes scheduled_end_time in AudioStreamPlaybackScheduled.
Note: This PR is superseded by #1210.
This was the demo used to showcase the implementation of DSP time and
play_scheduled()
from godotengine/godot#105510.Things to try:
play
andplay_scheduled
for the metronome ticks.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.
(At the time of writing this, the
play_scheduled()
PR isn't merged yet, so this project shouldn't be merged until then.)