Hardening and Softening Dynamical Systems

Harmonic Oscillator

  • — displacement from equilibrium
  • — stiffness
  • — mass of block
  • — natural frequency (Hz)

Duffing Oscillator (Conservative)

  • — displacement from equilibrium
  • — stiffness
  • — mass of block
  • — natural frequency (Hz), with the sign of
  • — cubic stiffness term

Duffing Oscillator (Damped)

  • — displacement from equilibrium
  • — stiffness
  • — mass of block
  • — natural frequency (Hz), with the sign of
  • — cubic stiffness term
  • — damping coefficient

Duffing Oscillator (Driven)

  • — displacement from equilibrium
  • — stiffness
  • — mass of block
  • — natural frequency (Hz), with the sign of
  • — cubic stiffness term
  • — damping coefficient
  • — forcing amplitude per unit mass
  • — driving frequency

Lab – orbits played by instruments

How the instruments are driven

From motion to sound

The oscillator is integrated sample by sample at the audio rate (48 kHz). Its displacement, divided by the largest displacement of the orbit, gives the sound

which peaks near 1. With Raw, we hear itself.

The instrument is a linear filter

An instrument is a fixed, linear, time-invariant filter with impulse response , mixed with the sound itself by the dry / wet setting :

Each filter is a sum of resonances. A resonance at with decay time contributes

a peak of height at , about wide. Each is scaled so that its largest value is 1, and is applied by convolution.

What a linear filter can and cannot do

A linear filter only reweights the frequencies already in ; it cannot create new ones. A steady tone at frequency therefore stays a tone at the same pitch, made louder or quieter by . The character of an instrument (its ringing and decay) appears only when the sound changes: at onsets, during pitch glides, and in chaotic motion.

The Wooden body, with broad resonances, colors any pitch. The Metal plate has many narrow resonances at no particular pitches, so it rings most with changing and chaotic sound. The tuned ones (Marimba, Harp, Bell) are tuned to the oscillator's natural frequency (220 Hz when ); their peaks are narrow (0.2 Hz for a harp string), so a steady tone sounds through them only when it lands on a note, as at the hardening default (370 Hz, the major sixth above 220 Hz).

Loudness and limiting

These are the only non-linear steps. Loudness normalization tracks the mean square of over about 0.2 s and moves the gain smoothly toward an RMS level of 0.3, boosting by at most 26 dB. A limiter then rounds off any peaks above 0.8, leaving the sound untouched below that, so at normal levels it adds no distortion.

Removing the driving frequency

For a driven system, the drive's own frequency can be removed before the instrument by a notch filter about wide. This is also linear. What remains is the oscillator's own response away from : subharmonics, the harmonics made by the nonlinearity, and the broad spectrum of chaos.

The instruments

  • Wooden body: 10 broad resonances from 100 to 2500 Hz ( from 80 to 15 ms).
  • Metal plate: 96 inharmonic resonances spread from 100 to 4000 Hz ( from 0.3 to 1.2 s), not tuned.
  • Marimba: bars on the chosen scale from over two octaves, each with partials at 1, 3.93 and 9.2 times its pitch ( = 0.6, 0.25 and 0.1 s).
  • Harp: strings on the chosen scale from over three octaves, each with its first six harmonics ( = 1.5 s for the fundamental).
  • Bell: 11 church-bell partials of (0.5, 1, 1.2, 1.5, 2, … times it).

The marimba and harp use the scale chosen on the previous slide (equal-tempered; major pentatonic by default, with 10 bars and 15 strings): major or minor pentatonic, major, natural or harmonic minor, blues, whole tone, or chromatic.

Their responses in dB (to −40 dB), the tuned ones at  Hz on the major pentatonic scale: