Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Conductor

An asset by skibbl_
The page banner background of a mountain and forest
Conductor hero image

Quick Information

0 ratings
Conductor icon image
skibbl_
Conductor

A simple addon for syncing game events to the music.

Supported Engine Version
4.0
Version String
0.1.2
License Version
MIT
Support Level
community
Modified Date
3 days ago
Git URL
Issue URL

GodotConductor

A simple addon for syncing game events to the music.

Conductor Autoload/Global:

When enabling the plugin, it should automatically add the Conductor script to the Globals/Autoload section. If it doesn't, disable and re-enable the plugin. The conductor has a few handy functions and signals

Conductor Functions:

set_song(stream:AudioStream, bpm:float, beats_per_measure:int = 4, first_beat_offset:float = 0):

This sets the Conductor audio, bpm, and first beat offset.

stream = song audio stream,

bpm = song beats per minute,

beats_per_measure = how many beats are in every measure (top number of time signurature),

first_beat_offset = how much time (seconds, not beats) passes before the first beat happens.

play_song_from_beat(beat:float):

This function starts playing the song, at the specified beat.

play(from_position: float = 0.0):

This function starts playing the song, at the specified time (seconds). Leave blank to start at the beginning.

play_song_with_start_offset(offset:float):

This function starts playing the song with an offset. The offset is in beats, and will stil emit beat, measure, and update signals. once the specified amount of beats passes, then the song will start playing (at beat 0)

example:

play_song_with_start_offset(4) starts playing at -4, until it reaches 0 when the song starts playing.

Conductor Signals:

To add a signal to a script, use Conductor.SIGNAL_NAME.connect(FUNC_NAME), where SIGNAL_NAME is the signal you want to connect (i.e. beat), and FUNC_NAME is the function you want to call.

beat(position)

this signal gets called once every beat. The position variable is set to the current beat

measure(position)

this signal gets called once at the start of every measure. The position variable is set to which measure it is.

update(delta, beat_position, measure_position)

this signal gets called once at the start of every measure. The position variable is set to which measure it is.

New Nodes:

ConductedTimer:

i was too lazy to write at the time

ConductedAnimationPlayer:

i was too lazy to write at the time

Quick Tutorial:

i was too lazy to write at the time

A simple addon for syncing game events to the music.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Conductor icon image
skibbl_
Conductor

A simple addon for syncing game events to the music.

Supported Engine Version
4.0
Version String
0.1.2
License Version
MIT
Support Level
community
Modified Date
3 days ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers