NumPy Fast Fourier transform (FFT) does not work on sine wave generated in Audacity
问题 I am trying to use the NumPy library for Python to do some frequency analysis. I have two .wav files that both contain a 440 Hz sine wave. One of them I generated with the NumPy sine function, and the other I generated in Audacity. The FFT works on the Python-generated one, but does nothing on the Audacity one. Here are links to the two files: The non-working file: 440_audacity.wav The working file: 440_gen.wav This is the code I am using to do the Fourier transform: import numpy as np import