SPB Git

Repository Public

wavelab.md 4.7 KB

# WaveLab

WaveLab measures audio. Every curve and number it shows is computed from real PCM; when a source has nothing to measure the tool says so and draws nothing.

# Signal sources

Source What it is When it has data
Engine: master, a track or a bus (live) The engine's tap ring, read without ever blocking the audio thread While this document is loaded in the engine and something has played
Rendered master / rendered stem The offline render the studio makes after each successful compilation After a compilation; the tools read at the playhead
Imported file A WAV, AIFF or FLAC file decoded by the Sonata reader After Import Audio File…; a slider sets the read position

Hold freezes the display. The refresh rate can be 60, 30 or 15 frames per second; with Reduce Motion on, live views are limited to 15.

# Tools

  • Oscilloscope — time span 0.2 ms to 1 s, amplitude zoom, mono or stereo, rising-edge trigger with adjustable level. Read-outs: frequency and period (mean distance between rising crossings), peak, RMS, DC offset.
  • Spectrum — FFT of 256 to 32768 points with a rectangular, Hann, Blackman or Blackman-Harris window. The level axis is dBFS calibrated on a sine: a full-scale sine reads 0 dBFS at its bin with any window. Linear or logarithmic frequency axis, exponential averaging (in power), peak hold, and the strongest peaks refined by parabolic interpolation and labelled in hertz and as a note. The status line gives the bin width and the main-lobe width, which is the real resolution.
  • Spectrogram — short-time Fourier transform with a history of at most 600 columns. A rendered or imported source that is not playing is analysed whole; during playback the picture follows the playhead. Colour maps: Viridis, Magma, Cividis (designed to read the same with colour-vision deficiency) and grey. The pointer reads time, frequency, note and level. PNG… exports the picture with axes and a legend; CSV… exports the levels in dBFS.
  • Waterfall 3D — the same columns as line strips in Metal: frequency, level and time on three axes with a grid. Drag (or use the arrow keys) to orbit, scroll to zoom, clip the amplitude range, select a slice to read its strongest component. The frame time shown is measured.
  • Vectorscope — mid on the vertical axis, side on the horizontal one, with correlation, balance and width measured on the displayed window.
  • Harmonic Lab — fundamental by the YIN method, partials 1–32 on a Blackman-Harris spectrum of the last 32768 samples, their deviation from exact multiples in cents, THD, noise floor, inharmonicity. Valid for one steady tone; the conditions are printed.
  • Envelope Lab — envelope of one note measured on the rendered stem of its track: 10–90 % attack, decay, sustain level, time to fall 60 dB after note-off. When the instrument's parameters specify an ADSR it is drawn dashed beside the measurement; the two are never merged. Valid when the note sounds alone in its track.
  • Filter Lab — magnitude, unwrapped phase, group delay and impulse response of any effect of the registry, measured by running the effect itself on an impulse. Keep as "before" stores a curve for comparison. For non-linear effects (compressor, distortion…) and time-varying ones (chorus, phaser…) the tool states that the curves describe one impulse level or one instant, not a transfer function.
  • Wave Editor — selection, gain, fade in, fade out, reverse, silence, normalise on a loaded file, zoom down to single samples. Non-destructive: operations form an edit list, each entry can be removed, the source file is never changed; Export… writes a new WAV, AIFF or FLAC through the Sonata writer.
  • DSP Graph — the nodes of the compiled mixing graph in processing order with their channels, inputs, latency and parameters, and the engine's callback statistics.
  • Loudness — momentary, short-term and integrated loudness (ITU-R BS.1770-4) and true peak of the master over the last minute.
  • Spatial Lab — the constant-power pan law used by the runtime and the position of each track on it. Binaural rendering is not implemented.

# Limits to keep in mind

  • A spectrum of N points at a sample rate fs cannot separate components closer than about main lobe × fs / N; the value is displayed.
  • Live sources show what the engine played, monitor gain excluded; rendered sources show the render, which is what an export contains.
  • The wave editor loads files up to 30 minutes at 48 kHz in memory.
Files main
Menu

Theme