can pass a float pointer to slider's onChange
NanoKontrol doc