             property: "OSC Morph Index",
             value: osc.index, minimum: 0, maximum: 3,
             color: AKColor.green
-        ) { index in
-            osc.index = index
+        ) { sliderValue in
+            osc.index = sliderValue
         })
 
         addSubview(AKPropertySlider(

            format: "%0.3f s",
            value: osc.releaseDuration, maximum: 2,
            color: AKColor.green
        ) { duration in
            osc.releaseDuration = duration
        })

        addSubview(AKPropertySlider(

            format: "%0.1f Cents",
            value:  osc.detuningOffset, minimum: -1_200, maximum: 1_200,
            color: AKColor.green
        ) { sliderValue in
            osc.detuningOffset = sliderValue
        })

        addSubview(AKPropertySlider(
            property: "Detuning Multiplier",
            value:  osc.detuningMultiplier, minimum: 0.5, maximum: 2.0,
            color: AKColor.green
        ) { sliderValue in
            osc.detuningMultiplier = sliderValue
        })
    }
}

