hello-rust / show

🍿 Show notes, code, and future topic ideas for "Hello Rust!", a YouTube channel about the Rust programming language.
https://hello-rust.show
306 stars 20 forks source link

Analyze audio snippets in realtime #17

Open mre opened 6 years ago

mre commented 6 years ago

What?

Build a Rust tool, that will take an audio recording and run a Fast Fourier Analysis on it to get the frequencies of the sample.

Why?

I always wanted a tool to analyze the sound spectrum in front of my apartment door. In particular, I'm interested in the number of car honks throughout the day and its distribution.

How?

Take some crate that can read wave files, split it into small chunks, and run a fourier analysis on it. (Maybe wrap it all up as a commandline tool?)

mre commented 6 years ago

https://github.com/PaulFurtado/rusty_bars

mre commented 6 years ago

https://github.com/IGI-111/ghastly

luca-i commented 6 years ago

A chord detection crate would also be interesting. A lot of mobile apps (mainly guitar learning tools) seem to have real-time or batch chord detection capabilities.