

In this part we cover:
Oscillations are periodic processes. To reproduce the tone of an instrument it is (in principle) sufficient to know:
For a digital system, this leads to the following representation:
Consider a short excerpt from a recorded flute tone stored in a wavetable. Processing of such a sample typically involves:
A commonly used amplitude envelope model is the Attack–Decay–Sustain–Release (ADSR) envelope. It describes the envelope with four key points, giving a simple approximation of the instrument’s transient behaviour. For more realism, one can additionally store explicit transient segments before and after the loop.


To create sustained tones from a finite-length recording, one typically selects a region of the waveform and loops it (repeats it) while a key is held.
Below is a simple example that demonstrates looping of a single-period waveform and shows the resulting spectrum.

| Advantages | Disadvantages |
|---|---|
| Arbitrary shift by continuous variation of the clock frequency (asynchronous) | For polyphonic instruments: different sample rates for each channel |
| Simple circuitry (analog lowpass: switched capacitor filter) | For each channel one digital-analog converter |
| No digital post-processing | Adding different voices only by summation of analog signals |
Applied in the first wavetable synthesizers until ca. 1985.


For zero-order or first-order interpolation, the interpolated value can be obtained from the neighbour values in a simple fashion.
For fractional phase increment (e.g., 1.0595):
The interpolated value is obtained from the neighbour values.

Increase the pitch by dropping samples Decrease the pitch by repeating samples

Calculation of the intermediate values by linear interpolation, e.g.,
y(1.0595) \approx y(1) \cdot (1 - 0.0595) + y(2) \cdot 0.0595
Linear interpolation gives good results for smooth functions.
To avoid errors, multidimensional multisampling is used.
Example: Multisample for a grand piano:
Total duration: almost a day!
Required memory: 1.8 GB
Required memory per instrument: several GB
So far: wavetable synthesis — reproduction of recorded sounds
Two approaches:
Sound synthesis by spectral shaping (subtractive synthesis)
Compose a sound from single spectral components.
Theoretical foundation: Fourier series expansion
Synthesis:
y(t) = \Re\left\{ \sum_{\nu=-\infty}^{\infty} c_\nu \exp(j \nu \omega_0 t) \right\} = \sum_{\nu=0}^{\infty} a_\nu \cos(j \nu \omega_0 t + \varphi_\nu)
Realisation by a bank of parallel resonators.
Analysis (according to Fourier theory):
c_\nu = \frac{1}{T} \int_{t_0}^{t_0 + T} y(t)\,\exp(-j \nu \omega_0 t)\, dt, \qquad \omega_0 = \frac{2\pi}{T}
Filtering:
y(t) = h(t) * x(t), \qquad h(t) = \mathcal{F}^{-1}\{ H(j\omega) \}
Realisation by serial filters.
