Signal Processing: Musical Instrument Recognition & Resources

Click For Summary

Discussion Overview

The discussion focuses on signal processing in the context of musical instrument recognition. Participants explore the differences in sound signals produced by various instruments, the role of harmonics, and the interpretation of signal analysis results. The conversation includes theoretical and practical aspects of signal processing, particularly using tools like Matlab.

Discussion Character

  • Exploratory
  • Technical explanation
  • Conceptual clarification
  • Debate/contested
  • Mathematical reasoning

Main Points Raised

  • Some participants suggest that the distinct sound of each instrument arises from its unique blend of harmonics, which serves as a "fingerprint" for identification.
  • One participant questions whether running a Fast Fourier Transform (FFT) on a sound signal would allow for instrument identification based on harmonic content.
  • There is a discussion about the variability of harmonics in instruments like guitars, depending on where the string is struck, and whether the same harmonics appear with varying peak heights.
  • Another participant explains that while there are theoretically infinite harmonics, the relative heights of these harmonics are what differentiate instruments, despite their fundamental frequencies being consistent.
  • A participant raises a question about the presence of peaks at dissonant intervals in their analysis and seeks interpretation of these findings.
  • One participant discusses the wave characteristics of musical instruments, noting that imperfections and resonators can affect the frequencies produced, leading to anharmonic signals.

Areas of Agreement / Disagreement

Participants generally agree on the role of harmonics in distinguishing instruments, but there are differing views on the implications of harmonic variability and the interpretation of dissonant peaks. The discussion remains unresolved regarding the specifics of these interpretations.

Contextual Notes

Some limitations include the dependence on definitions of harmonics and dissonance, as well as the practical challenges of detecting high harmonics amidst noise.

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
 

Similar threads

  • · Replies 2 ·
Replies
2
Views
2K
Replies
3
Views
3K
  • · Replies 27 ·
Replies
27
Views
4K
  • · Replies 4 ·
Replies
4
Views
2K
Replies
13
Views
2K
  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 14 ·
Replies
14
Views
5K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 6 ·
Replies
6
Views
7K
  • · Replies 26 ·
Replies
26
Views
4K