Finding an expression for dissonance

  • Context: Graduate 
  • Thread starter Thread starter JoAuSc
  • Start date Start date
  • Tags Tags
    Expression
Click For Summary

Discussion Overview

The discussion revolves around finding an expression to calculate dissonance between two frequencies, focusing on how this expression could peak at specific frequency ratios such as 1/1, 2/1, and 3/2. Participants explore the concept of dissonance in music theory, its definitions, and potential mathematical models related to sound frequencies and harmonics.

Discussion Character

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

Main Points Raised

  • One participant seeks an expression for dissonance that peaks at certain frequency ratios, suggesting that the amplitude of string vibrations could be a measure of consonance.
  • Another participant argues that dissonance is subjective and depends on the listener's perception.
  • Some participants emphasize the need for a precise definition of dissonance, noting that it can vary based on tuning and harmonic content.
  • A participant describes an experiment involving a current-carrying wire and its oscillation, relating it to the concept of consonance and suggesting that amplitude could be a useful measure.
  • Discussion includes historical perspectives on tonal music and dissonance, highlighting cultural differences in musical resolutions and the evolution of music theory.
  • One participant mentions the rise of computer-composed music and neural networks, suggesting a modern context for exploring dissonance and consonance.

Areas of Agreement / Disagreement

Participants express differing views on the definition and nature of dissonance, with no consensus reached on a specific expression or model for calculating it. The discussion remains unresolved with multiple competing perspectives on the topic.

Contextual Notes

Participants note the complexity of defining dissonance, the influence of cultural practices on musical perception, and the limitations of current models in capturing the nuances of consonance and dissonance.

JoAuSc
Messages
197
Reaction score
1
I've been trying to find an expression that calculates the dissonance between two frequencies, something which would have its highest peak when the frequencies match, its second highest peak when the frequencies are in a 2/1 ratio, its third highest peak for a 3/2 ratio, etc. Does anyone know of such an expression?
 
Physics news on Phys.org
Dissonance is in the ear of the beholder.
 
I think you are going to have to derive a very exact definition of what you consider to be disonant. You can have disonance between two tones that are slightly out of tune, or a full half step off.

You have not described dissonance. You are describing what, from what I have seen, happens naturally when you have a tone with a lot of harmonics. In looking at an FFT of a signal, the base frequency is usually the strongest with interval peaks decreasing in amplitude with frequency. Of course there are always exceptions.

Is an FFT what you were eluding to when you said "peaks?"
 
FredGarvin said:
I think you are going to have to derive a very exact definition of what you consider to be disonant. You can have disonance between two tones that are slightly out of tune, or a full half step off.

You have not described dissonance. You are describing what, from what I have seen, happens naturally when you have a tone with a lot of harmonics. In looking at an FFT of a signal, the base frequency is usually the strongest with interval peaks decreasing in amplitude with frequency. Of course there are always exceptions.

Is an FFT what you were eluding to when you said "peaks?"
Perhaps it's best if I rephrase my question. I'm looking for an expression that will determine the consonance between certain pitches. Here's a rough idea of what I'm looking for:

There was this physics experiment we did in class about a year ago where a current-carrying wire would be driven to oscillate by having an alternating current move through it while a permanent magnet was fixed near the end. The amplitude of the wire would be greatest when the AC frequency matched the frequency at which the string as a whole would vibrate when plucked (it would have 2 nodes at the endpoints). The amplitude was second-highest when the AC frequency was such that the string would have 3 nodes. And so on. Let f_a = the base frequency, f_b = another frequency, and A(f) = the amplitude of the string vibration for a certain frequency divided by the maximum amplitude (at f_a, so that 0 <= A(f) <= 1 for any f).

I think A(f) could be a good measure of the consonance between two notes, but I don't remember what A(f) should be. I imagine it'd be 0 in most places, but peaking at 1/1, 2/1, 3/1, 3/2, 4/3, etc. frequency ratios.

(An FFT isn't quite what I want. Let's say we have two functions sin(at) and sin(bt). If a = b, these two pitches would be very consonant, and an FFT would have a spike here, but if a = 2b, there'd also be consonance, and the FFT would just show 0.)


(I might as well explain that I'm trying to find some way to create melodies using differential equations or some other type of model. If I had an expression for consonance, I could mathematically show the tendency of a note to approach certain other frequencies.)
 
Last edited:
In this day and age, one of the last refuges of tonal music is garage-band rock and roll -- the "three chord" variety. In the West, we hear, for example, a II-V-I progression as complete, but not necessarily so in the Middle East, or China. Why do I say tonal? Typically, tonal music refers to the so-called Common-Practice music of the 1700s and 1800s, which has fairly restrictive practices for dealing with dissonances. Go back far enough, and a V-I resolution was not common, rather as you can hear in Gregorian Chants, the resolutions were done with IV-I progressions, which sounds eirie to our contemporary ears.

Some of Bach's music is highly dissonant, but still treasured. From Wagner on, the restrictions of tonality and dissonance declined in importance. Nowadays, anything goes, provided that the music sounds "good" to somebody.

That being said, there are lot's of people doing computer-composed music, including music composed by neural networks. Do a Google search -- you will, no doubt be amazed at the extent of what you'll find. Good luck.

Regards,
Reilly Atkinson
 

Similar threads

  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 13 ·
Replies
13
Views
2K
Replies
17
Views
3K
  • · Replies 9 ·
Replies
9
Views
1K
  • · Replies 8 ·
Replies
8
Views
3K
  • · Replies 2 ·
Replies
2
Views
3K
  • · Replies 4 ·
Replies
4
Views
5K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 15 ·
Replies
15
Views
5K
  • · Replies 12 ·
Replies
12
Views
1K