0 votes

I'm trying to build a demo project that relies on events that happens on the music score. So far, I'm still figureout how to build it, all sugestions were welcome.

Problem, I have a music, and some actions must be performed when some instruments play some some notes. Music is not MIDI or any sort of tracker thing, therefore, music is just a regular mp3/ogg/wav or any wave base format.

The music files, it self, can have tags/breakpoints on the timeline to tell when the instrument event happens.

Events, must be called in a gdscript (something like: onmusic_event(event) )

My demo is kind of more complex (have other things envolved), but you can think as making a guitar hero for instance.

Any sugestions?

in Engine by (14 points)

1 Answer

0 votes

You can use an animation player to start playing the music, add function tracks with calls where events should happen.

by (7,894 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.