Making and Hearing Sound: A Mathematical Perspective | 声音的产生与听觉:数学视角

📚 Making and Hearing Sound: A Mathematical Perspective | 声音的产生与听觉:数学视角

Sound is a mechanical wave that travels through a medium, and its generation and perception are deeply rooted in mathematical principles. From the simple harmonic motion of a vibrating source to the complex analysis of auditory signals, mathematics provides the language to describe frequency, amplitude, wave interference, and the logarithmic response of the human ear. This article explores the advanced mathematical concepts behind making and hearing sound, connecting trigonometric functions, differential equations, Fourier series, and logarithms to the physical phenomena of acoustics.

声音是一种通过介质传播的机械波,它的产生与感知深深植根于数学原理。从振动源的简谐运动到听觉信号的复杂分析,数学提供了描述频率、振幅、波的干涉以及人耳对数响应的语言。本文探讨了声音产生和听觉背后的进阶数学概念,将三角函数、微分方程、傅里叶级数和对数与声学物理现象联系起来。


1. Simple Harmonic Motion: The Origin of Sound | 简谐运动:声音的起源

Sound originates from a vibrating source, such as a guitar string or a loudspeaker diaphragm. The simplest model is simple harmonic motion (SHM), where the displacement x can be described by x(t) = A sin(ωt + φ), with A representing amplitude, ω angular frequency, and φ the phase constant. The restoring force is proportional to displacement, leading to a second‑order differential equation: d²x/dt² = –ω²x. The solution yields periodic oscillations that produce pressure variations in the air, which we perceive as sound.

声音源自振动的声源,例如吉他弦或扬声器振膜。最简单的模型是简谐运动(SHM),其位移 x 可描述为 x(t) = A sin(ωt + φ),其中 A 表示振幅,ω 为角频率,φ 为初相。回复力与位移成正比,由此得到二阶微分方程:d²x/dt² = –ω²x。该方程的解产生周期性振动,在空气中形成压力变化,即我们感知的声音。


2. The Wave Equation and Sound Propagation | 波动方程与声音传播

Sound waves in air are longitudinal pressure waves governed by the wave equation: ∂²p/∂t² = c² ∂²p/∂x², where p is the acoustic pressure and c is the speed of sound. For a one‑dimensional wave, a general solution is p(x,t) = f(x – ct) + g(x + ct), representing right‑ and left‑traveling waves. The speed of sound in an ideal gas is given by c = √(γRT/M), linking thermodynamic and mathematical constants. This partial differential equation models how disturbances propagate and interact, forming the foundation of acoustics.

空气中的声波是遵循波动方程的纵波:∂²p/∂t² = c² ∂²p/∂x²,其中 p 为声压,c 为声速。对于一维波,通解为 p(x,t) = f(x – ct) + g(x + ct),分别表示向右和向左传播的波。理想气体中的声速公式为 c = √(γRT/M),连接了热力学与数学常数。这个偏微分方程模拟了扰动如何传播和相互作用,奠定了声学的基础。


3. Frequency, Period, and Angular Frequency | 频率、周期与角频率

Frequency f, measured in hertz (Hz), is the number of complete oscillations per second, related to period T by f = 1/T. Angular frequency ω = 2πf gives radians per second, crucial for trigonometric descriptions. The human ear responds to frequencies roughly between 20 Hz and 20 000 Hz. A pure tone corresponds to a single frequency sine wave, p(t) = p₀ sin(2πft). Pitch perception is closely linked to frequency: a doubling of frequency raises pitch by one octave, a logarithmic relationship in music.

频率 f 以赫兹(Hz)为单位,表示每秒完整振荡的次数,与周期 T 的关系为 f = 1/T。角频率 ω = 2πf 给出每秒弧度数,对于三角函数描述至关重要。人耳可感频率大约在 20 Hz 到 20 000 Hz 之间。纯音对应单一频率的正弦波:p(t) = p₀ sin(2πft)。音高感知与频率密切相关:频率加倍使音高升高一个八度,这在音乐中是一种对数关系。


4. Amplitude, Intensity, and the Inverse Square Law | 振幅、声强与平方反比定律

Amplitude determines the loudness of a sound. Intensity I, the power per unit area, is proportional to the square of the pressure amplitude: I ∝ p₀². For a point source radiating spherically, intensity obeys the inverse square law: I = P / (4πr²), where P is the source power and r is distance. This geometric spreading causes a 6 dB drop per doubling of distance, a direct consequence of surface area expansion described by S = 4πr².

振幅决定了声音的响度。声强 I,即单位面积上的功率,与声压振幅的平方成正比:I ∝ p₀²。对于点源发出的球面波,声强遵循平方反比定律:I = P / (4πr²),其中 P 是声源功率,r 为距离。这种几何衰减导致距离每加倍声强下降 6 dB,这是表面积 S = 4πr² 展开的直接结果。


5. The Decibel Scale and Logarithmic Response | 分贝尺度与对数响应

The human ear perceives loudness on a logarithmic scale, prompting the use of the decibel (dB). Sound intensity level is defined as L_I = 10 log₁₀ (I / I₀), where I₀ = 10⁻¹² W m⁻² is the reference intensity. Similarly, sound pressure level is L_p = 20 log₁₀ (p / p₀), with p₀ = 20 μPa. This logarithmic transformation compresses the vast range of audible intensities—from the threshold of hearing to the threshold of pain (a ratio of 10¹²)—into a manageable 0–120 dB scale. Logarithmic identities, such as log(ab) = log a + log b, are essential when combining multiple sound sources.

人耳对响度的感知呈对数特性,因此引入了分贝(dB)单位。声强级定义为 L_I = 10 log₁₀ (I / I₀),其中参考声强 I₀ = 10⁻¹² W m⁻²。类似地,声压级为 L_p = 20 log₁₀ (p / p₀),参考声压 p₀ = 20 μPa。这一对数变换将巨大的可听声强范围——从听阈到痛阈(比值达 10¹²)——压缩为 0–120 dB 的易处理尺度。对数恒等式,例如 log(ab) = log a + log b,在合并多个声源时至关重要。


6. Fourier Series: Decomposing Sound into Sinusoids | 傅里叶级数:将声音分解为正弦波

Real sounds are rarely pure tones; they consist of a fundamental frequency and harmonics. Fourier series expresses a periodic sound wave f(t) of period T as a sum of sinusoids: f(t) = A₀/2 + Σ [Aₙ cos(2πnft) + Bₙ sin(2πnft)]. The coefficients Aₙ and Bₙ are determined by integration over one period. This mathematical tool reveals the harmonic content of a musical note. For example, a square wave can be synthesized by odd harmonics: f(t) = (4/π) [sin(ωt) + (1/3) sin(3ωt) + (1/5) sin(5ωt) + …]. The same principle allows an audio signal to be analyzed into its frequency components.

真实的声音很少是纯音;它们由基频和谐波组成。傅里叶级数将周期为 T 的声音波 f(t) 表示为正弦波之和:f(t) = A₀/2 + Σ [Aₙ cos(2πnft) + Bₙ sin(2πnft)]。系数 Aₙ 和 Bₙ 通过对一个周期积分求出。这个数学工具揭示了乐音中的谐波含量。例如,方波可由奇次谐波合成:f(t) = (4/π) [sin(ωt) + (1/3) sin(3ωt) + (1/5) sin(5ωt) + …]。同样原理可用于将音频信号分解为各频率成分。


7. Harmonics, Overtones, and Timbre | 谐波、泛音与音色

When a string of length L fixed at both ends vibrates, it supports standing waves with wavelengths λₙ = 2L/n for n = 1,2,3,… The corresponding frequencies are fₙ = n f₁, where f₁ = (1/2L)√(T/μ) is the fundamental frequency, T is tension, and μ is linear density. These integer multiples are called harmonics. The relative amplitudes of harmonics determine the timbre, or tone colour, of an instrument. Mathematically, timbre can be represented as a unique Fourier coefficient vector, allowing synthesis of rich, complex waveforms from simple sine components.

一根两端固定的长度为 L 的弦振动时,会产生驻波,其波长为 λₙ = 2L/n,n = 1,2,3,… 对应频率为 fₙ = n f₁,其中基频 f₁ = (1/2L)√(T/μ),T 为张力,μ 为线密度。这些整数倍频率称为谐波。各谐波的相对振幅决定了乐器的音色。数学上,音色可以表示为一个独特的傅里叶系数向量,从而利用简单的正弦分量合成丰富、复杂的波形。


8. Hearing Range and the Equal‑Loudness Contours | 听觉范围与等响曲线

The human auditory system does not respond linearly; equal‑loudness contours (Fletcher‑Munson curves) show that sensitivity peaks around 3–4 kHz and drops sharply at low and very high frequencies. Mathematically, these contours are described by phon values, which are dB SPL required at each frequency to sound equally loud as a 1 kHz tone at that phon level. For example, a 50 phon curve requires about 50 dB SPL at 1 kHz, but nearly 70 dB SPL at 100 Hz. This nonlinear frequency weighting leads to the A‑weighting filter in sound level meters, modeled by a transfer function with poles and zeros, and is essential for accurate noise measurement.

人类听觉系统并非线性响应;等响曲线(Fletcher‑Munson 曲线)显示,敏感度在 3–4 kHz 附近达到峰值,在低频和极高频处急剧下降。数学上,这些曲线用 phon 值描述,即各频率所需的声压级(dB SPL),使其听起来与 1 kHz 纯音在该 phon 级同等响亮。例如,50 phon 曲线在 1 kHz 处要求约 50 dB SPL,而在 100 Hz 处需接近 70 dB SPL。这种非线性频率加权导致了声级计中的 A 计权滤波器(由含极点和零点的传递函数建模),这对准确噪声测量至关重要。


9. Pitch Perception and Mathematical Ratios | 音高感知与数学比率

Pitch perception is primarily determined by fundamental frequency, but the ear also constructs a virtual pitch from harmonic patterns even if the fundamental is missing. In Western music, the equal‑tempered scale divides an octave (frequency ratio 2:1) into 12 equal semitones, each having a frequency ratio of 2¹/¹² ≈ 1.0595. This means the frequency of a note k semitones above a reference f₀ is f = f₀ × 2ᵏ/¹². Ancient tuning systems, such as Pythagorean tuning, were based on simple integer ratios like 3:2 (perfect fifth). These mathematical relationships show how number theory and logarithms underpin musical harmony.

音高感知主要由基频决定,但即使基频缺失,耳朵也能根据谐波模式构建虚拟音高。在西方音乐中,十二平均律将一个八度(频率比 2:1)分为 12 个相等的半音,每个半音的频率比为 2¹/¹² ≈ 1.0595。这意味着比参考音高 f₀ 高 k 个半音的音符频率为 f = f₀ × 2ᵏ/¹²。古代调律系统如毕达哥拉斯调律基于简单整数比,如 3:2(纯五度)。这些数学关系展示了数论与对数如何奠定音乐和谐的基础。


10. Resonance and Standing Waves | 共振与驻波

Resonance occurs when a system is driven at its natural frequency, leading to maximum amplitude. In a tube open at both ends, standing sound waves satisfy L = n λ/2, so resonant frequencies are fₙ = n c / (2L). For a tube closed at one end, fₙ = (2n‑1) c / (4L). These formulas explain wind instruments and the human vocal tract. The amplitude at resonance is limited by damping, often modeled as a damped, driven harmonic oscillator described by m d²x/dt² + b dx/dt + kx = F₀ cos(ωt). The steady‑state solution exhibits a phase shift and amplitude peak when ω ≈ ω₀ = √(k/m), with sharpness quantified by the quality factor Q.

当系统以其固有频率驱动时会发生共振,导致振幅最大。在两端开口的管中,驻波满足 L = n λ/2,因此共振频率为 fₙ = n c / (2L)。对于一端闭合的管,fₙ = (2n‑1) c / (4L)。这些公式解释了管乐器和人声道的发声。共振时的振幅受阻尼限制,通常建模为受迫阻尼谐振子:m d²x/dt² + b dx/dt + kx = F₀ cos(ωt)。稳态解在 ω ≈ ω₀ = √(k/m) 时呈现相位偏移和振幅峰值,尖锐度由品质因数 Q 量度。


11. Sound Synthesis Using Trigonometric Functions | 使用三角函数合成声音

Additive synthesis builds complex sounds by summing sinusoidal components: s(t) = Σ Aₖ sin(2π fₖ t + φₖ). By carefully choosing frequencies, amplitudes, and phases, one can recreate instrument sounds or generate entirely new timbres. Frequency modulation (FM) synthesis uses a modulation index I to create rich spectra: s(t) = A sin(2π f_c t + I sin(2π f_m t)). The resulting waveform contains sidebands at frequencies f_c ± n f_m, with amplitudes given by Bessel functions Jₙ(I). These methods demonstrate how trigonometric identities and series expansions are creatively applied in digital audio production.

加法合成通过叠加正弦分量构建复杂声音:s(t) = Σ Aₖ sin(2π fₖ t + φₖ)。精心选择频率、振幅和相位,可以重现乐器声音或生成全新的音色。频率调制(FM)合成利用调制指数 I 产生丰富频谱:s(t) = A sin(2π f_c t + I sin(2π f_m t))。所得波形包含频率为 f_c ± n f_m 的边带,其振幅由贝塞尔函数 Jₙ(I) 给出。这些方法展示了三角函数恒等式和级数展开如何在数字音频制作中得到创造性运用。


12. The Mathematics of Binaural Hearing and Localization | 双耳听觉与定位的数学

The brain locates a sound source using interaural time differences (ITD) and interaural level differences (ILD). For a source at angle θ relative to the forward direction, ITD ≈ (d / c) sin θ, where d is the distance between ears (≈0.2 m). This provides the azimuthal cue. Additionally, the head‑related transfer function (HRTF) convolves the sound with a filter that varies with direction, helping vertical and front‑back localization. The HRTF can be expressed as a complex frequency‑domain function H(θ, φ, f), and its time‑domain equivalent is the head‑related impulse response (HRIR). This mathematical description enables virtual spatial audio in headphones.

大脑利用双耳时间差(ITD)和双耳声级差(ILD)定位声源。对于与正前方向夹角为 θ 的声源,ITD ≈ (d / c) sin θ,其中 d 为双耳间距(约 0.2 m)。这提供了方位角线索。此外,头部相关传递函数(HRTF)将声音与随方向变化的滤波器卷积,有助于垂直和前后定位。HRTF 可表示为频域复函数 H(θ, φ, f),其时域对应为头部相关脉冲响应(HRIR)。这一数学描述使耳机中的虚拟空间音频成为可能。


Published by TutorHao | Advanced Mathematics (4D1) Revision Series | aleveler.com

更多咨询请联系16621398022(同微信)

Comments

屏轩国际教育cambridge primary/secondary checkpoint, cat4, ukiset,ukcat,igcse,alevel,PAT,STEP,MAT, ibdp,ap,ssat,sat,sat2课程辅导,国外大学本科硕士研究生博士课程论文辅导

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Discover more from aleveler.com

Subscribe now to keep reading and get access to the full archive.

Continue reading