-
Notifications
You must be signed in to change notification settings - Fork 68
Description
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.