Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to compare a sound input with a pre-determined sound?

Elaborate:

Suppose I play a G on my guitar and my sound card has taken an input. How to make my computer recognize that it is G? (No constraints on programming language, though prefer Python or C)( Links to articles or certain ideas would help. No code snippets)

like image 956
Hick Avatar asked Nov 07 '11 11:11

Hick


People also ask

What are the 2 types of audio signal?

Audio signals are of two main kinds — either analog or digital. All audio begins and ends as analog sound — at the recording and playback ends — so digital sound can be thought of as a kind of detour of analog sound through computational hardware.

What is the best model for audio classification?

Convolutional Neural Networks (CNNs) have proven very effective in image classification and show promise for audio.

How do we classify sound?

Audio classifications can be of multiple types and forms such as — Acoustic Data Classification or acoustic event detection, Music classification, Natural Language Classification, and Environmental Sound Classification.


1 Answers

Neither the Goertzel filter nor an FFT are good musical pitch estimators. The FFT is a frequency estimator, and peak spectral frequency is different from psycho-acoustic pitch (due to perceptual oddities and the physics of actual musical instruments, such as missing or weak fundamentals).

Search on stackoverflow for musical pitch estimation algorithms. There are a bunch.

like image 172
hotpaw2 Avatar answered Jan 02 '23 09:01

hotpaw2