Rust – FFT Plotter

Check out this project on GitHub at:

https://github.com/bensatlantik/Rust.git

The github project is named ‘fft-analyzer’ – in the directory is an audio file named ‘waves.wav’ which is a recording of ocean waves. This type of audio source file is a ri…


This content originally appeared on DEV Community and was authored by Ben Santora

Check out this project on GitHub at:

https://github.com/bensatlantik/Rust.git

The github project is named 'fft-analyzer' - in the directory is an audio file named 'waves.wav' which is a recording of ocean waves. This type of audio source file is a rich source of diverse frequencies. You will need Rust installed - clone the repo, cd into fft-analyzer and type 'cargo run' - it should run the program and produce a .png of the FFT plot for the included .wav file.

Image description

Try your own audio files, but remember to change the code in src / main.rs and replace 'waves.wav' with the name of your .wav file. (Or rename your file to 'waves.wav' if you don't want to rewrite the code).

Ben Santora - October 2024


This content originally appeared on DEV Community and was authored by Ben Santora


Print Share Comment Cite Upload Translate Updates
APA

Ben Santora | Sciencx (2024-10-27T19:31:53+00:00) Rust – FFT Plotter. Retrieved from https://www.scien.cx/2024/10/27/rust-fft-plotter/

MLA
" » Rust – FFT Plotter." Ben Santora | Sciencx - Sunday October 27, 2024, https://www.scien.cx/2024/10/27/rust-fft-plotter/
HARVARD
Ben Santora | Sciencx Sunday October 27, 2024 » Rust – FFT Plotter., viewed ,<https://www.scien.cx/2024/10/27/rust-fft-plotter/>
VANCOUVER
Ben Santora | Sciencx - » Rust – FFT Plotter. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/10/27/rust-fft-plotter/
CHICAGO
" » Rust – FFT Plotter." Ben Santora | Sciencx - Accessed . https://www.scien.cx/2024/10/27/rust-fft-plotter/
IEEE
" » Rust – FFT Plotter." Ben Santora | Sciencx [Online]. Available: https://www.scien.cx/2024/10/27/rust-fft-plotter/. [Accessed: ]
rf:citation
» Rust – FFT Plotter | Ben Santora | Sciencx | https://www.scien.cx/2024/10/27/rust-fft-plotter/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.