First of all, I'm sorry for the many questions I've been making!
But I'll tell you what I'm trying to do: in the company I work, my boss asked me to write a program to be used in a laboratory test. It consist in an impedance tube where a stading wave in frequency of 1/3 octaves fills the tube. It is used to find the absorption coefficient of materials. The program I developed consisted in measuring the peak voltage and the minimun voltage through the tube of each sound generated by a DVD Player and a loud speaker with an amplifier. I did the program / routine and tested it but we found out that our signal is not being filtered so we are measuring the standing wave with all the harmonics caused by the air and other things. My boss had an idea and that's the point where I'm in doubt: we could analyze the spectrum of the standing wave since it shows all the harmonics plus the standing wave in the frequency we are measuring. So I would rewrite the program to get the peak amplitude and the minimum amplitude of the sound in the tube. Is it possible to do? I'm sending a picture of what I need (red circle).
Thanks for all and I apologize for any incovenience caused.