Digital Waveguides: Discrete Wave Equation
Wave Equation for Ideal Strings
The ideal string results in an oscillation without losses. The differential wave-equation for this process is defined as follows. The velocity c determines the propagation speed of the wave and this results in the frequency of the oscillation.
With:
∂2y∂t2: the second partial derivative with respect to time (the acceleration of the wave at a point).
∂2y∂x2: the second partial derivative with respect to space (the curvature of the string at that point).
c: the propagation speed of the wave, depending on the physical properties of the medium.
A solution for the different equation without losses is given by d'Alembert (1746). The oscillation is composed of two waves - one left-traveling and one right traveling component. The displacement - y(x,t) of the wave at position x and time t. can be expressed as:
With:
y+ = left traveling wave
y− = right traveling wave
Tuning the String
In an ideal string, the velocity c depends on the tension K and mass-density ϵ of the string:
With tension K, cross sectional area S and density ρ in gcm3.
The frequency f of the vibrating string depends on the velocity and the string length:
Make it Discrete
For an implementation in digital systems, both time and space have to be discretized. This is the discrete version of the above introduced solution:
For the time, this discretization is bound to the sampling frequency fs. Spatial sample distance X depends on sampling-rate fs=1T and velocity c.
t= nT
x= mX
X=cT
References
2019
- Stefan Bilbao, Charlotte Desvages, Michele Ducceschi, Brian Hamilton, Reginald Harrison-Harsley, Alberto Torin, and Craig Webb.
Physical modeling, algorithms, and sound synthesis: the ness project.
Computer Music Journal, 43(2-3):15–30, 2019.
[details] [BibTeX▼]
2004
- Chris Chafe.
Case studies of physical models in music composition.
In Proceedings of the 18th International Congress on Acoustics. 2004.
[details] [BibTeX▼]
1995
- Vesa Välimäki.
Discrete-time modeling of acoustic tubes using fractional delay filters.
Helsinki University of Technology, 1995.
[details] [BibTeX▼] - Gijs de Bruin and Maarten van Walstijn.
Physical models of wind instruments: A generalized excitation coupled with a modular tube simulation platform*.
Journal of New Music Research, 24(2):148–163, 1995.
[details] [BibTeX▼]
1993
- Matti Karjalainen, Vesa Välimäki, and Zoltán Jánosy.
Towards High-Quality Sound Synthesis of the Guitar and String Instruments.
In Computer Music Association, 56–63. 1993.
[details] [BibTeX▼]
1992
- Julius O Smith.
Physical modeling using digital waveguides.
Computer music journal, 16(4):74–91, 1992.
[details] [BibTeX▼]
1971
- Lejaren Hiller and Pierre Ruiz.
Synthesizing musical sounds by solving the wave equation for vibrating objects: part 1.
Journal of the Audio Engineering Society, 19(6):462–470, 1971.
[details] [BibTeX▼] - Lejaren Hiller and Pierre Ruiz.
Synthesizing musical sounds by solving the wave equation for vibrating objects: part 2.
Journal of the Audio Engineering Society, 19(7):542–551, 1971.
[details] [BibTeX▼]