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.

My understanding is that the peak frequency amplitude output sends the amplitude of the loudest frequency. So it’s different from using filters because you don’t have to decide the frequency range beforehand.

But it’s its sibling, peak frequency, that interests me the most. At face value, that would mean the loudest frequency itself, not its amplitude. Its raw data would be sound within the audible range, so initial values between 30 and 20,000Hz. Which would have to be normalized and otherwise treated into smth more useful for VDMX.

I might have misunderstood how it’s supposed to work, but what I’m after is the translation from Hz (30-20,000) to VDMX controller values (0-1). Not getting what I’m expecting (i.e. ‘1’ would correspond to ‘20,000’, if that’s the maximum).