Draft:Beat (acoustics)/WJS withdrawn

From testwiki
Jump to navigation Jump to search

Beat (acoustics)/header

b:Laplace_Transform#Solution_linear_simultaneous_equations

I had to completely rewrite the abstract. See:
 * #Different frequencies for phase and harmonic beats?
 * Beat (acoustics)/Exact phase beats

Beat (acoustics) - Beat (acoustics)/Phase beats - Beat (acoustics)/Literature search - Beat (acoustics)/WJS

Consonant just intervals

The frequency ratios (Template:Math, Template:Math, Template:Math, Template:Math, Template:Math, Template:Math) approximate the piano's (E♭, E, F, G, A♭, A) played above the C.
Simple explanation of beats: Amplitude vanishes when waves cancel.

Musical consonance is defined by a collection of frequency ratios defined by ratios of small whole numbers. Exactly which ratios create consonance is a matter of opinion, but our primary interest is in fractions between 1 and 2, where the coprime integer pairs range from from 2 through 8. Temporarily removing 7 from the list leaves us with the six consonant intervals shown in Figure 1. Six piano keys (E♭ E, ..., A) make the frequency ratio with the lower C shown in the figure. The question mark on D informs us that the "correct" ratio for that note is ambiguous, because two paths to D yield different results: Starting at C, one could move up by a factor of 3/2 (fifth) and down by 4/3 (fourth). Instead, one could obtain, 10/9=(5/3)(2/3) by moving up a sixth and down a fifth. This explains the need for a tempered scale way that does burden a student in a research group who has an aversion to higher mathematics.[1]

This hypothetical math-adverse student might play an essential role in an effort to sort out a mystery dates back many years before Helmholtz proposed an explanation for the consonance of just intervals back in 1877.[2] An important component of supervised student research involves students learning from students. Students begin higher education by developing a broad vocabulary, but only mastering one discipline. But most progress is interdisciplinary, and therefore demands communication between experts. Traditional courses (two midterms and a final) cannot tolerate the chaos of students always teaching each other. But that chaos might transform to joy if students are in a research group trying to understand acoustical beats. Of course, that joy is tempered when students are told that one group member's ability to detect rhythmic irregularities will carry absolutely no weight in the scientific community. Now we need an expert in experimental psychology.

Amplitude beats

It is well known that acoustical beats can be heard when a just interval is slightly detuned.[3] An explanation by Helmholtz explanation is a common starting point for investigating this phenomenon, even by authors who concede that this model is less than convincing.[4][5][6][7][8][9] What is easily taught is often misleading,[10] yet there are reasons for introducing at topic with misleading simplicity. For example, student research that uncovers the flaws in a simple explanation has practical value in the teaching of that subject. In our case, the formulas and ideas presented below will prepare the reader for the more sophisticated calculations that follow.

Characteristic periods for the tritone and fifth.

Characteristic frequencies

Consider a perfectly tuned just interval with frequencies (fp,fq), where:

  Eq. 1 | fp=pf0>qf0=fq,

and p>q are relatively prime integers. Adopting the usual symbols for period and frequency, we define T0=1/f0, is the longest of the four characteristic periods. The highest of these four frequencies is inspired by the fact that the smallest number divisible by both p and q is their product, pq. Hence we define:

  Eq. 2 | fx=pqf0

This allows us to write the period of the two pitches in the interval as multiples of Tx=1/fx:

  Eq. 3 | Tq=pTx and Tp=qTx

Figure 3 illustrates this for the (3/2) fifth, the high note's period is two units of Tx, while the lower note's period is three units long. A summary of relationships between these frequencies and periods is shown in Table 1.

Beats between matching harmonics

This depiction of a violin's waveform appears to have a "harmonic" structure, i.e., it is free of inharmonicity.
Comparing harmonic (top) and inharmonic (bottom) waveforms

The history of recognizing importance of ratios of small numbers in defining consonant intervals is so ancient that it is almost a matter of convenience to associate it with Helmholtz (1821-1894),[2][4] (who incidentally made great contributions to the field of musical acoustics.) The amplitude beats depicted in Figure 2 (above) can be shown to occur at the frequency,

   Eq. ? | fbeat=|Δf||f2f1|

where Δf is the difference between the two frequencies. Since we are seeking beats with frequencies of a few Hertz, this equation stipulates that we must consider beats between frequencies that are nearly equal.

It was Fourier (1768–1830) who demonstrated that periodic signals can be represented as a sum of sine and cosine wave whose frequencies follow a harmonic series. In other words, suppose a sound wave is periodic with period T, or equivalently, has a fundamental frequency of f=1/T. Subject to constraints beyond the scope of this article, any such function time can be expressed as a sum over sine and cosine waves, all with frequencies that are a multiples of f (i.e. the frequencies are f, 2f, 3f, 4f, et cetera.)

We may neglect the cosine waves if the fluctuating pressure, p(t) happens to be zero time, t=0, and write this sum in the in what is called a Fourier series:

   Eq. ? | p(t)=C1sin(ωt)+C2sin(2ωt)+C3sin(3ωt)+,

where (C1,C2,) are arbitrary constants, and "omega" is defined as, ω=2πf. The top graph in Figure ? shows an example with the following choices for these constants:[11]

   Eq. ? | C1=2, C2=1, C3=23, and Cj=0 if j>3.

The bottom graph in Figure ? depicts the waveform for a case that is inharmonic because 3 was replaced by 3.1.

See also:

Formula

Table 2 shows the 3/2 "fifth" interval with the higher frequency, Template:MathHz, sharp by one Hertz. The harmonics, Template:Math, Template:Math, ..., are shown in that column. The harmonics of the lower frequency (Template:MathHz) are also shown. The cases when the frequencies are match are shaded yellow, and accompanied by the frequency difference, which we call Δf.[12] It can be shown that all the beat frequencies are given by:

   Eq. ? | ifB=i|qΔfppΔfq|,

where the prefix i is a positive integer that can identify the pair of harmonics invovled: The ipth harmonic of fq matches the iqth harmonic of fp. If the just interval's tuning is exact, this pair of harmonics have the same frequency, which is fx=ipqf0. In other words, fx as described in Table 1 is the frequency of the shared harmonic that is responsible for beats, according Helmholtz's model of consonance.

Equation (?) would lead one to believe that beats only occur when p-wave and q-wave each contain the corresponding harmonic in sufficient strength to cause the amplitude variations to be noticeable to the human ear. Yet, beats can be heard between pure sine waves that deviate slightly from just intonation.[2][3][4][5]

Template:Center

Phase beats

Equation ? also represents the frequency of what we shall call phase beats, except that the integer i is restricted to only two values:

  • i=1 for all just intervals.
  • i=2 if either p or q is even (verified for max(p,q)8 only).

To avoid confusion, the superscript to distinguish between phase beat frequency fϕ and beats between higher harmonics fH. Two important caveats concerning phase beats must be mentioned:

  1. While there is evidence that people can distinguish phase differences between two pure sinusoidal waves, I was unable to find any mention of these "phase beats" on the internet.[13]
  2. The rule regarding phase beats for i=2 has only been established for cases where p and q are both less than Template:Math.

Shown below are phase beats spanning two periods of 2TBϕ (one period of 1TBϕ) a perfect fifth (P5) that is detuned by 4.3 cents.

The centers of the shaded regions A and C are separated by on period of the the phase beats lowest frequency 1TBϕ. Since this 3/2 ratio contains an even number, you can see the i=2 beat period separating B from A or C. The reader should note that the signal at B is the additive inverse of the signals at A and C.

Figure 6 shows the waveform for P5 (perfect fifth) that has been detuned by about twice the amount associated with equal temperament. With a Template:Math ratio, we expect to hear the i=2 beat, which occurs at twice the rate of the i=1 beat. This extra beat is shown in the center of the graph, where two cycles of the T0 interval as shown (shaded cyan). Note how the central shaded region is the inverse of the two yellow shaded regions at each end. If humans perceive the central shaded section to be identical to those on the ends, the perception is that this is an i=2. But if the central section is perceived differently, humans will perceive two simultaneous beats: The i=1 occurs at frequency 1fBϕ, with an additional beat at twice that frequency.

Hearing the beats

All files play the beat at 90 beats per minute and are arranged in 3/4 time:

  1. Four bars with no metronome: Listen for the beats
  2. Four bars with metronome. Think: click-2-3 | 2-2-3 | 3-2-3 | 4-2-3
  3. Four bars with no metronome. Count: rest-2-3 | 2-2-3 | 3-2-3 | 4-2-3
  4. One bar with metronome. Listen: click-2-3

The challenge occurs at step 3: Try to count the beats as if they were a four measure rest in a waltz. If you are the clicker, you would come on the first beat of the fifth bar after that rest. After a while you might be able to start counting at the beginning. If you are a musician, imagine that you have four bars of rest, four bars of clicks, four bars of rest, and one bar of clicks. And, you might discover that you need to "practice" by listening to a passage many times before you can master it. The waltz rhythm was deliberately chosen because doesn't fit into this theory of phase beats. In other words, while most waltzes emphasize that the "1" in 123 is a downbeat to be either skipped or played, here the "1" should sound exactly like the other two beats. So if you hear the "1" as louder, either you mind is playing tricks on you, or a new and unexplained effect is at work.

The first collection of seven sound files are WAV files. OGGs files are also shown. These are compressed but often easier to access online:[14]


OGG:       P5 300.0-200.25       P4 266.667-200.188       M6 333.333-200.3       M3 250.0-200.       m6 320.0-200.094       m3 240.0-200.125       d5 280.0-200.214

WAV:       P5 300.0-200.25       P4 266.667-200.188       M6 333.333-200.3       M3 250.0-200.       m6 320.0-200.094       m3 240.0-200.125       d5 280.0-200.214


Periodicity of the phase between two notes in a musical interval can be ascertained by time shifting one note.

Phase shift model for detuning

Here we introduce an approximation that allows us to derive equation ?. The derivation is only valid for the eight just ratios shown in figure 7. For each ratio, three versions of the interval are shown. These versions differ only in the phase shift between the two pitches, and each version displays the two tone on separate time axes, so that there are actually six "sinusoidals" for each interval.

These "sinusoidals" are depicted as triangular waves for two reasons: One is convenience, as the diagram was created using Inkscape. These triangular waves make it much easier to see when the two waveforms are in phase. The top pair of waveforms depicts waves that are in phase; they are cosine waves of the origin as at the left end of each waveform. The bottom pair time-shifts the higher frequency wave by a time Tx=1/fx, where:

  Eq. ? | fx=pfq=qfp,

and (p,q) is a pair of relatively prime integers. The reader can verify from figureTemplate:Spaces7 that the length of each of each of the eight waveforms is T0=1/f0, where:

  Eq. ? | f0=fp/p=fq/q.

It can be shown that for each of the just ratios bottom pair of waveforms depicts a slightly detuned interval after 1TBϕ has elapsed. As shown in the figure, this is the true periodicity in the phase relationship because the blue line indicates where the peaks align. The middle pair of wafeforms depict half the phase difference. This pair depicts the phase shift after 2TBϕ=121TBϕ of time has elapsed. The reader can verify that these just intervals display an alignment of the negative (downward peaks.) These alignments of negative peaks occur only if p or q is even. This is the beat pattern associated with i=2, which occurs only if p and q are both odd.

Two just tritones

It might be possible to test this phase-beating model by examining the tritones, Template:Math and Template:Math tritones, which differ by about Template:Math cents.[15] One tritone is with, and the other without the inverted beat at i=2. If inverted waveforms sound exactly like the uninverted, the beat frequency should differ by a factor of two. A preliminary investigation using a low-cost pair of earphones failed to convincingly demonstrate this factor of two difference. This investigation was flawed by the fact that it was not a blind study, and because it used an inexpensive sound system. Also, it may be the case that humans can distinguish between a signal and its additive inverse due to possible nonlinearity how the ear perceives sound. What humans call "sound" ceases involves mechanical motion at the eardrum. Great complications occur after this motion causes nerve cells in the cochlea to create sound impulses.

Schematic of human hearing a more accurate sketch see File:Ear-anatomy-text-small-en.png

The following model is not an attempt to model how nerves in the cochlea convert sound to signals to the brain, but an oversimplification intended to introduce students to nonlinearity. The question is whether humans will perceive the signal at B in figure ? as different from the signals at A and C. Let x and y represent motion of eardrum and the amplitude of sound as perceived by nerves in the choclea, respectively. Both x and y can be defined so that their magnitudes are always less than unity. At the eardrum, x=x(t) is an easily understood sum of two sinusoidal pressure fluctuations as shown in figure ? It is likely that a integro-differential equation is required to model y=y(t), but for simplicity we take the relation to be that of a function:

  Eq. ? | y(t)=F(x(t))

If we stipulate that y(t)=0 when x(t), it is plausible that this function can expressed in the following form:

  Eq. ? | F(x)=x(1+ε1x+ε2x2+),

where {ε1,ε2,ε3,...} define the non-linearity of the relationship between x and y. For sufficiently small x, these terms become successively smaller, so that the most important nonlinear effect often involves the the "first-order" (ε1) term.[16] The equation that stipulates that the perception of a sound is identical to the perception to it's additive inverse is:

  Eq. ? | y(x)=y(x),

and the reader can verify that this is violated for any non-zero value of ε2.

Different frequencies for phase and harmonic beats?

Figure ? suggests that equation () is only an approximation because the beats (marked by the red and blue line) are delayed by less than T0. This is a small correction because T0<<TBϕ. But small deviations in the frequency of a periodic signal are easy to measure. A talented musician might be able count these beats for a sufficient length of time to detect a small difference between TBϕ and TBH.

It is possible for humans to measure changes in beat frequency that are far too small for humans to perceive. All that is required is an audio-visual file that flashes a light at frequency fBH, while playing an audio designed to beat at fBϕ. The duration of this file can be several hours long. Instead of attempting to count beats, the person only needs to listen to selected excerpts.

Biological synchronization

  • W:Auditory cortex: The right auditory cortex has long been shown to be more sensitive to tonality (high spectral resolution), while the left auditory cortex has been shown to be more sensitive to minute sequential differences (rapid temporal changes) in sound, such as in speech
  • Lits&Stone:[2] Devil's staircase figure. Neurons cannot fire at rates much beyond a kilohertz.
  • w:Neurotransmission#Convergence_and_divergence. wikt:white lie. The brain is neither analog nor digital, but works using a signal processing paradigm that has some properties in common with both. ... the signals sent around the brain are "either-or" states that are similar to binary. A neuron fires or it does not. These all-or-nothing pulses are the basic language of the brain. So in this sense, the brain is computing using something like binary signals.forbes.com (quora)
  • w:Neurotransmission see first two images. See also w:Biological neuron model

See also c:Category:SVG cochlea

For modelling simplicity, firing frequencies may be the same as the driving frequencies, but in reality may be scaled-down versions of them, since neurons cannot fire at rates much beyond a kilohertz.[2]

See also:

THEMES: Neurological spikes not sine waves ... trianguar waves.. Two analogs: Metronomes and circuits. Both are odes. Reference Beats (acoustics) on Wikiversity.

OUTLINE

Additional information

Acknowledgements

Any people, organisations, or funding sources that you would like to thank.

Competing interests

Any conflicts of interest that you would like to declare. Otherwise, a statement that the authors have no competing interest.

Ethics statement

The following passage was lifted from Institutional review board (Wikipedia). It emphasizes policy in the United States. For a worldwide perspective, see Ethics committee (Wikipedia).

An Institutional Review Board (IRB) is a committee that applies research ethics by reviewing the methods proposed for research to ensure that they are ethical. Such boards are formally designated to approve (or reject) behavioral research involving humans. Certain research categories are considered exempt from IRB oversight. One such category is research in conventional educational settings. Generally, human research ethics guidelines require that decisions about exemption are made by an IRB representative, not by the investigators themselves.

Editorial scrapbook

Template:Cot

  • Coombes, S., and Gabriel James Lord. "Intrinsic modulation of pulse-coupled integrate-and-fire neurons." Physical Review E 56.5 (1997): 5809. (link) ... rhythmic motor behavior... w:Hodgkin–Huxley model (4 nonlinear odes).
Tadpole quote: "For example, in the mollusc Tritonia and the tadpole Xenopus the escape swim behavior is generated in this fashion ... The study of coupled oscillators has applications in understanding CPG (central pattern generators) neuronal circuits ... "
Three of the 41 citing articles involve music:
  1. LotsStone[2] coupled neural oscillators ... PROBLEMS WITH HELMHOLTZ'S THEORY ...
  2. Heffernan, B., and A. Longtin. "Pulse-coupled neuron models as investigative tools for musical consonance." Journal of Neuroscience Methods 183.1 (2009): 95-106. (link)
  3. Hadrava, Michal, and Jaroslav Hlinka. "A Dynamical Systems Approach to Spectral Music: Modeling the Role of Roughness and Inharmonicity in Perception of Musical Tension." Frontiers in Applied Mathematics and Statistics 6 (2020): 18.(link)
  • I found the references in Lots&Stone:
  1. Schellenberg, E. Glenn, and Sandra E. Trehub. "Frequency ratios and the discrimination of pure tone sequences." Perception & Psychophysics 56.4 (1994): 472-478.(link) They studied sequential intervals and found people recognize them. Even infants do. Goes against Helmholtz model... but what does this have to do with mode locking?
  2. Mirollo, Renato E., and Steven H. Strogatz. "Synchronization of pulse-coupled biological oscillators." SIAM Journal on Applied Mathematics 50.6 (1990): 1645-1662. (link) mentioned in Lits&Stone. Fireflies and women's menstrual cycles!
  • Hodgkin–Huxley differential equations as simple as I can find them (link)
  1. ([ link])
  2. ([ link])

Template:Cob

References

Template:Reflist

  1. Student's a working knowledge of the musical scale can also appreciate the need for a tempered scale looking at a more "perfect keyboard" at w:Pythagorean tuning
  2. 2.0 2.1 2.2 2.3 2.4 2.5 Shapira Lots, Inbal, and Lewi Stone. "Perception of musical consonance and dissonance: an outcome of neural synchronization." Journal of the Royal Society Interface 5.29 (2008): 1429-1434. link
  3. 3.0 3.1 See reference 11 on w:special:permalink/1130834192#Uses
  4. 4.0 4.1 4.2 Plomp, Reinier, and Willem Johannes Maria Levelt. "Tonal consonance and critical bandwidth." The journal of the Acoustical Society of America 38.4 (1965): 548-560. link
  5. 5.0 5.1 Interference beats and Tartini tones (UNSW)
  6. Steedman, Mark. "Helmholtz and Longuet-Higgins Theories of Consonance and Harmony." Unpublished Tutorial Paper (2002).link
  7. https://knilt.arcc.albany.edu/4-4_Beat_Theory
  8. [THE PHYSICS AND PSYCHOPHYSICS OF SOUND & MUSIC (David Worrall) http://www.avatar.com.au/courses/PPofM/consonance/con1.html]
  9. The following references found on the internet but were not seen by the author because they are not freely available: ✶ Hartmann, William M. Signals, sound, and sensation. Springer Science & Business Media, 2004. ✶ Tenney, James. "A history of consonance and dissonance." (1988). ✶ Roederer, Juan G. Introduction to the Physics and Psychophysics of Music. Springer Science & Business Media, 2012.
  10. Two examples of necessary but misleading introductions to science are (1) the Bohr model is introduce long before students are ready for quantum mechanics, and (2) a simple relationship between frequency, wavelength and (phase) velocity is taught, with no mention of essential concept of group velocity.
  11. The ±4 is not part of the waveform but simply added to offset the two waves above and below the axis.
  12. The delta Δ is the Greek "D" and stands for "difference"
  13. My only access to the scientific literature is through the open internet, which limits the articles that I can read.
  14. A good student project would investigate whether OGG compression changes the phase structure in a way that renders them useless for investigating phase beats.
  15. 12log2(50/49)0.035
  16. One important scenario where "zeroth-order" (F(x)=x) dominates is the consequence of reversing the lead to one of the loudspeakers in a sterio system. Even if all ε and all higher order terms vanish, the reversal will be noticed because the sound from the two speakers will tend to cancel.