Foucault Terraphone

A Real-Time Interactive Sonification of Pendulum Physics and Celestial Mechanics, Conceptual Experiment


Abstract

The Foucault Terraphone is a real-time, interactive web application that explores a novel sonification of the physics governing a Foucault pendulum. By numerically modeling the pendulum’s motion under the influence of gravity and the Coriolis effect, the application translates complex physical dynamics into an evolving soundscape. It is designed to serve a dual purpose: as an intuitive educational tool for demonstrating celestial mechanics and as an expressive digital musical instrument for generating complex, generative audio textures.


1. Introduction

The Foucault pendulum, first exhibited in 1851, provides a direct proof of a planet’s rotation. The apparent rotation of the pendulum’s swing plane is a consequence of the Coriolis force, an inertial force that acts on objects in motion within a rotating frame of reference.

The Foucault Terraphone project aims to make the principles of this phenomenon both audible and interactive. Users can instantiate virtual pendulums and manipulate the physical parameters of the simulated environment—such as gravity, latitude, and planetary rotation speed—and immediately hear the impact on the system’s dynamics.

2. System Architecture

The application is architected around two core engines: a physics simulation engine and an audio synthesis engine, linked by a defined set of parameter mappings.

2.1. Physics Engine

The simulation numerically integrates the equations of motion for a spherical pendulum. The model accounts for:

The simulation is executed on a per-frame basis using requestAnimationFrame, with a variable time-step solver to ensure stability and performance.

2.2. Sonification Engine

The state of each pendulum is mapped to parameters of a dedicated audio voice within the Web Audio API graph. This mapping forms the core of the sonification process.

Physical Parameter Audio Parameter Description
Velocity Magnitude Oscillator Frequency (Pitch) The faster the pendulum bob moves, the higher the fundamental frequency.
Velocity Magnitude Filter Cutoff Frequency Higher speeds result in a brighter, more harmonically rich timbre.
Swing Amplitude Gain (Volume) Wider swings produce a louder sound, decaying as the pendulum loses energy.
Precession Angle Stereo Panning As the swing plane rotates, the sound pans across the stereo field.
Radial Velocity Doppler Shift (Pitch Bend) Simulates the Doppler effect; pitch increases as the bob moves toward the observer (center) and decreases as it moves away.

The audio engine supports multiple synthesizer waveforms (sine, square, sawtooth, triangle, noise) and allows users to load their own audio samples, which are then pitch-shifted and manipulated by the physics engine. A global reverb and compressor are applied to the master output to create a cohesive soundscape.

2.3. Visualization

The application state is rendered on an HTML5 Canvas. Each pendulum’s path is traced, with the color of the path dynamically modulated by the calculated Doppler shift. This creates a direct visual corollary to the audio pitch-bending, with “blueshifted” (approaching) and “redshifted” (receding) path segments.

3. Usage & Examples

Interaction is initiated by clicking or tapping on the canvas, which creates a pendulum at that location. The control panel allows for real-time adjustment of all physical and audio parameters.

3.1. Example: The Coriolis Effect on Earth

3.2. Example: Exploring Celestial Bodies

3.3. Example: Musical Expression

4. Technology Stack

© 2025 Daniel Sandner. Released under the MIT License.