Fix the spectrum analyzer not working in the wave editor