Skip to content

Conversation

@github-actions
Copy link
Contributor

Description

Set the BPM of a channel playing a sound and set up events to activate on a beat.
For example, if you have an audio file on sound channel 1, you can set it's BPM.
On the beat, you can activate events, such as a camera zoom tween, or color change.

Reminder that the on beat detection must be running every frame of when you want it to detect the beats!

How to use the extension

On an event that runs every frame, you are to add the "Beat handler" action, sound or music, and set its channel to the channel currently playing a track. This is how the beat length is calculated. This extension does not work otherwise. You cannot run both a music, and sound handler at the same time. They depend on the same hidden variables. You must run one at a time. This might be changed in a later update.

You can set the BPM, with the "Set the BPM" action. It must be the BPM of the audio file you have playing, or it won't look synced.

You can add events when the beat is hit by using the "If a beat on a (music or sound) channel is hit" condition. This object runs once during the frame of the beat.

Checklist

  • I've followed all of the best practices.
  • I confirm that this extension can be integrated to this GitHub repository, distributed and MIT licensed.
  • I am aware that the extension may be updated by anyone, and do not need my explicit consent to do so.

Example file

BPM Sync Example.zip

Extension file

SyncChannelBpm.zip


Extension by @heisenhixie

You can update the extension on this "Pull Request" by commenting the update command: in the comment field, type !update, then drag and drop a zip file with your extension file in the commenting field, like how you initially submitted the extension. It should look like this:

!update [MyExtension.zip](https://github.com/GDevelopApp/GDevelop-extensions/files/12709661/MyExtension.zip)

It can take a few seconds for the file to fully upload and show as the above. Once it is like shown above, click "Comment" and let the bot do the rest!

@github-actions github-actions bot requested a review from a team as a code owner November 30, 2025 06:34
@github-actions github-actions bot added the ✨ New extension A new extension label Nov 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ New extension A new extension

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants