Signal Processing: Musical Instrument Recognition & Resources

AI Thread Summary
The discussion centers on musical instrument recognition through signal processing, particularly using techniques like Fast Fourier Transform (FFT) to analyze sound signals. Different instruments produce unique blends of harmonics, creating a "fingerprint" that distinguishes them even when playing the same note. The harmonics generated by an instrument are consistent in frequency but vary in amplitude, which contributes to the instrument's timbre. While theoretically, an infinite number of harmonics exist, practical analysis is limited by noise, making it difficult to detect very high harmonics. Additionally, the presence of dissonant peaks in the analysis may indicate imperfections in the instrument's sound production, influenced by factors like resonators and the physical structure of the instrument. Resources for further study in signal processing are sought, particularly in the context of using MATLAB.
inadaze
Messages
20
Reaction score
0
Hi,
I was just wondering if anyone has any experience with signal processing. I am working with musical instrument recognition and would like some help. What is the main difference between musical instrument signals? Where can I get some resources on signal processing(I am using Matlab, but anything would be a great help).

Thanks
JAy
 
Computer science news on Phys.org
I do quite a lot of digital signal processing.

The reason different instruments sound different (even while playing the same note) is because each instrument produces its own blend of harmonics. The amount of power in the harmonics is a "fingerprint" of the instrument.

- Warren
 
Wow, your helping me out everywhere on this forum. ha. thank you.
So, what your saying is that if I were to run an FFT on any sound and count the amount of Harmonics I would be able to tell what instrument it is?
What about a guitar for instance...depending on where the string is struck it seems that I get different sets of harmonics. Is that it, or do the same harmonics show up in the same position with only the peek height changing?

Thanks
Jay
 
Theoretically, there's an infinite number of harmonics from every instrument. If you strike middle C (440 Hz), you'll get a harmonic at 880 Hz, 1320 Hz, etc.

The harmonics for middle C are always in the same place, regardless of the instrument. The relative heights of the peaks is what makes a trumpet sound like a trumpet and a piano sound like a piano. Some instruments have more second harmonic, while some have more third, etc.

You couldn't detect an infinite number of harmonics in practice, of course, because eventually the very weak high harmonics will not be discernable from random noise.

- Warren
 
okay, that makes sense. Now when I analyze some instruments, I get peaks at dissonant intervals (not at steady intervals of the fundamental). What are these and how could I interpret them?

Jay
 
Most musical instruments resemble one of two wave problems - a string bound at both ends, or a tube open at one or both ends. However, they are not perfect. There are resonators built in, and the mouth acts as a resonator as well. If a resonator can capture one frequency, imperfections might translate that energy to another frequency.

Horns, for instance, might capture some energy from longitudinal sine waves and convert them to bessel functions at their flared ends.

I bet flutes and picolos are not producing much in the way of these anharmonic signals.

Njorl
 
I came across a video regarding the use of AI/ML to work through complex datasets to determine complicated protein structures. It is a promising and beneficial use of AI/ML. AlphaFold - The Most Useful Thing AI Has Ever Done https://www.ebi.ac.uk/training/online/courses/alphafold/an-introductory-guide-to-its-strengths-and-limitations/what-is-alphafold/ https://en.wikipedia.org/wiki/AlphaFold https://deepmind.google/about/ Edit/update: The AlphaFold article in Nature John Jumper...
Thread 'Urgent: Physically repair - or bypass - power button on Asus laptop'
Asus Vivobook S14 flip. The power button is wrecked. Unable to turn it on AT ALL. We can get into how and why it got wrecked later, but suffice to say a kitchen knife was involved: These buttons do want to NOT come off, not like other lappies, where they can snap in and out. And they sure don't go back on. So, in the absence of a longer-term solution that might involve a replacement, is there any way I can activate the power button, like with a paperclip or wire or something? It looks...
Back
Top