Spiralyst Lab logo Spiralyst Lab ← All gallery Scope · audio

Scope

The Shape of Sound Itself

Live audio capture from Spiralyst Lab.

An oscilloscope draws the raw waveform of sound: the captured audio signal plotted as height against a sweep of time. It is the most direct picture of a sound there is — a moving graph of exactly what the speaker cone is doing, instant by instant.

Just a Wiggling Line

Before a sound is pitch, rhythm, or timbre, it is just a wiggling line — air pressure rising and falling over time. The oscilloscope shows you that line directly. Where every other view in this studio interprets the audio, the oscilloscope simply plots it: the horizontal axis is time, the vertical axis is amplitude, and the trace is the literal waveform streaming in from the system tap.

The instrument is a century-old idea. Early cathode-ray oscilloscopes swept an electron beam left to right while the input voltage pushed it up and down, painting a glowing curve on a phosphor screen. The hard part was always keeping that curve still: a waveform that begins at a different point each sweep appears to slide across the screen. The fix is triggering — start each sweep at a repeatable feature of the signal, such as the moment it crosses zero going upward, so successive traces land on top of one another and the shape stands frozen.

Read musically, the waveform is full of information. A pure tone is a clean sine; a rich instrument piles harmonics into a complex repeating shape; a drum hit is a sharp transient that spikes and decays. Loud passages fill the vertical space, quiet ones shrink to a thread. It is sound with nothing added and nothing taken away.

The Math

$$x(t),\quad t = \frac{n}{f_s}$$

The trace is the signal itself: sample value \(x\) plotted against time \(t\). With a sample rate \(f_s\) of 48,000 samples per second, sample number \(n\) sits at time \(t = n / f_s\).

$$n \in [\text{start},\; \text{start} + N]$$

Only a short window of \(N\) consecutive samples is drawn at a time — a small fraction of a second — which is why the waveform appears to flow as fresh samples arrive.

$$\text{trigger:}\quad \text{first } n \text{ where } x(n-1) < 0 \leq x(n)$$

Triggering shifts the window's start to a repeatable feature — a rising zero-crossing, or the loudest peak — so the trace holds still instead of sliding.

How Spiralyst Lab draws it

Spiralyst Lab pulls a window of mono samples straight from the system audio tap — the Samples shown control sets how many — and plots them as a polyline: sample index across, amplitude up. The Trigger control chooses no alignment, a rising zero-crossing, or peak alignment so the trace stays steady. Amplitude scales the height, and Auto-gain divides by a slowly-decaying running peak so quiet music still fills the screen without a single loud transient permanently shrinking it. Because there is no fractal to iterate, the canvas simply refreshes every frame with the newest samples.

Did you know?

The oscilloscope is one of the most widely used instruments in all of engineering and medicine. An electrocardiogram is essentially a specialized oscilloscope — it traces the heart's electrical waveform over time exactly the way this one traces sound.

Get Spiralyst Lab — $24.99/yr Scopes overview ← All gallery

Math typesetting on this page is rendered by KaTeX 0.17.0 (MIT).