6 lines
134 B
GDScript
6 lines
134 B
GDScript
class_name Metronome extends AudioStreamPlayer
|
|
|
|
func on_conductor_ticked(update: BeatUpdate) -> void:
|
|
if update.new_beat():
|
|
play()
|