Peak frequency output from audio analysis

I’m trying to have a slider receive its value from he peak frequency of an audio analysis plugin.

I’m only getting very low values, between 0 and 0.03 or so, even when playing high pitched sound. What am I doing wrong? Not sure if the peak frequency might be output in Hz instead of 0-1?

I did some trial and error and now it seems values received by the slider range from 0 to 0.09. So multiplying by 10 in DoMath might be my solution? It looks about right.

Still not quite getting it though, is that expected? And am I getting the correct values to my slider or just seemingly correct? (not sure what to make of docs either, what I find is outdated and/or not specific to peak frequency.)

I think the audio analysis uses volume / db to generate data and you can narrow what part of the freq it uses.

not sure it used the actual audio pitch.