I want to read both .wav and .dat files and plot the spectrum, for the plot spectrum I need the center frequency and bits per samples, in the .dat file I can find the center