1

I am working on a simple audio spectrum analyzer using FPGA. For the preprocessing part, my idea is to use python to convert wav file to csv file, and then feed the data to a fast fourier transform module. Is it possible to get it work?

Meiyi Zheng
  • 9
  • 2
  • 4
  • You could also simply using scipy.io to open the wave file in python and get a numpy array. Then you could use either scipy FFT or numpy FFT module. No need to use a CSV (slow) in between. – Mathieu Dec 09 '20 at 12:58

1 Answers1

0

There are plenty of available open source modules to perform this: A GitHub repository for same.

Just open github and type wav to csv and you'll find quite a lot of them. Or even google a bit and you can find lot of answers on same.

One small query though. You basically want to convert the .wav file into a time series data right?

In that case, I'll highly recommend to go through: KDNugget's post about same.

Amit Amola
  • 2,301
  • 2
  • 22
  • 37