extends AudioStreamPlayer2D const PITCH_MIN = 0.8 const PITCH_MAX = 2.6 func _on_repeater_timeout(): trigger() func trigger(): set_pitch_scale(randf_range(PITCH_MIN, PITCH_MAX)) play(0.0) func _on_trigger_area_entered(area): trigger()