GetSpectrumData differance between pc and android

i am getting spectrum data with GetSpectrumData and loading to a float array . but this array is different in pc and android . for example on android sample[5] =0.4542334 but on pc sample[5]=0.2323424 . i am trying to make Audio surf like game . But i stucked that thing. spectrum is behaving different in different platform

Thanks

This is probably due to the sampling rate of each device: it’s 48KHz in Windows machines, and I read somewhere that it’s 24KHz in Android devices. In order to know which’s the sampling rate, verify AudioSettings.outputSampleRate - or simply set it to 24000 in both platforms.