Spectral Amplitude Acoustics Plots the amplitude auf sine waves against their frequencies. recording rate rate/2 recording_subrange recording_length samples actual_samples/2 actual_samples/2+1 actual_samples+1 actual_samples subrange_start period time frequency fftX fftY halfFrequency halfFFTtempX halfFFTtempY fft f0 t recordingSquared sum mean dbUncal lnMean userCalibration ln10 dB calibration target dB newCal tout fout dBout fout dBout tout dBout tout fout f0 halfFrequency fft actual_samples period samples calibration NOT calibrated calibrated dB tout dBout target dB calibration userCalibration time recording_subrange t recording recording_length recording_length samples subrange_start subrange_start recording recording_subrange recording_subrange actual_samples actual_samples 1 actual_samples+1 actual_samples 2 actual_samples/2 actual_samples/2 1 actual_samples/2+1 actual_samples rate period rate 2 rate/2 0 period actual_samples+1 time 0 rate/2 actual_samples/2+1 frequency recording_subrange fftX fftY 1 actual_samples/2 frequency fftX fftY halfFrequency halfFFTtempX halfFFTtempY halfFFTtempX halfFFTtempY fft fft halfFrequency f0 recording_subrange 2 recordingSquared recordingSquared sum sum actual_samples mean mean lnMean 10 ln10 lnMean ln10 0.1 dbUncal dbUncal calibration dB target dB dbUncal newCal actual_samples samples t tout actual_samples samples f0 fout actual_samples samples dB dBout tout fout dBout calibration