OmnichordGodot/scripts/TempoController.gd

8 lines
140 B
GDScript

extends Node
func _ready():
self.value_changed.connect(slider_change)
func slider_change(tempo: float):
Global.rhythm_tempo.emit(tempo)