简体   繁体   中英

FFT digital audio

I am using NAudio library for C#. I have a bye array of floating points from a .wav file. I would like put this through a FFT so I can find if a song has certain frequencies. For example a frequency which of a flute etc. Is there an FFT in NAudio and if so what does it take and output?

Here's a SO question which explains how to calculate FFT in NAudio .

Personally, I haven't been the biggest fan of NAudio for FFT implementations, I would rather use the following open-source solutions:

AForge.net . View the ComplexImage.cs for usage & FourierTransform.cs for implementation.

Math.NET's Iridium library (licensed under the LGPL so you are free to use it in commercial products).

Chris Lomont's C# Fast Fourier Transform .

MSDN also has a great discussion and a sample FFT implementation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM