SPB Git

Repository Public

wavelab.md 4.7 KB 75 lines markdown

1<!--2ORIX Sonata3File: Documentation/manual/wavelab.md4Author: Simon-Pierre Boucher5Contact: contact@spboucher.ai6-->7# WaveLab89WaveLab measures audio. Every curve and number it shows is computed from real PCM; when a10source has nothing to measure the tool says so and draws nothing.1112## Signal sources1314| Source | What it is | When it has data |15|---|---|---|16| 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 |17| Rendered master / rendered stem | The offline render the studio makes after each successful compilation | After a compilation; the tools read at the playhead |18| Imported file | A WAV, AIFF or FLAC file decoded by the Sonata reader | After *Import Audio File…*; a slider sets the read position |1920**Hold** freezes the display. The refresh rate can be 60, 30 or 15 frames per second; with21*Reduce Motion* on, live views are limited to 15.2223## Tools2425- **Oscilloscope** — time span 0.2 ms to 1 s, amplitude zoom, mono or stereo, rising-edge trigger26  with adjustable level. Read-outs: frequency and period (mean distance between rising27  crossings), peak, RMS, DC offset.28- **Spectrum** — FFT of 256 to 32768 points with a rectangular, Hann, Blackman or29  Blackman-Harris window. The level axis is dBFS calibrated on a sine: a full-scale sine reads30  0 dBFS at its bin with any window. Linear or logarithmic frequency axis, exponential31  averaging (in power), peak hold, and the strongest peaks refined by parabolic interpolation32  and labelled in hertz and as a note. The status line gives the bin width and the main-lobe33  width, which is the real resolution.34- **Spectrogram** — short-time Fourier transform with a history of at most 600 columns. A35  rendered or imported source that is not playing is analysed whole; during playback the picture36  follows the playhead. Colour maps: Viridis, Magma, Cividis (designed to read the same with37  colour-vision deficiency) and grey. The pointer reads time, frequency, note and level.38  *PNG…* exports the picture with axes and a legend; *CSV…* exports the levels in dBFS.39- **Waterfall 3D** — the same columns as line strips in Metal: frequency, level and time on40  three axes with a grid. Drag (or use the arrow keys) to orbit, scroll to zoom, clip the41  amplitude range, select a slice to read its strongest component. The frame time shown is42  measured.43- **Vectorscope** — mid on the vertical axis, side on the horizontal one, with correlation,44  balance and width measured on the displayed window.45- **Harmonic Lab** — fundamental by the YIN method, partials 1–32 on a Blackman-Harris46  spectrum of the last 32768 samples, their deviation from exact multiples in cents, THD,47  noise floor, inharmonicity. Valid for one steady tone; the conditions are printed.48- **Envelope Lab** — envelope of one note measured on the rendered stem of its track: 10–90 %49  attack, decay, sustain level, time to fall 60 dB after note-off. When the instrument's50  parameters specify an ADSR it is drawn dashed beside the measurement; the two are never51  merged. Valid when the note sounds alone in its track.52- **Filter Lab** — magnitude, unwrapped phase, group delay and impulse response of any effect53  of the registry, measured by running the effect itself on an impulse. *Keep as "before"*54  stores a curve for comparison. For non-linear effects (compressor, distortion…) and55  time-varying ones (chorus, phaser…) the tool states that the curves describe one impulse level56  or one instant, not a transfer function.57- **Wave Editor** — selection, gain, fade in, fade out, reverse, silence, normalise on a loaded58  file, zoom down to single samples. Non-destructive: operations form an edit list, each entry59  can be removed, the source file is never changed; *Export…* writes a new WAV, AIFF or FLAC60  through the Sonata writer.61- **DSP Graph** — the nodes of the compiled mixing graph in processing order with their62  channels, inputs, latency and parameters, and the engine's callback statistics.63- **Loudness** — momentary, short-term and integrated loudness (ITU-R BS.1770-4) and true peak64  of the master over the last minute.65- **Spatial Lab** — the constant-power pan law used by the runtime and the position of each66  track on it. Binaural rendering is not implemented.6768## Limits to keep in mind6970- A spectrum of N points at a sample rate fs cannot separate components closer than about71  `main lobe × fs / N`; the value is displayed.72- Live sources show what the engine played, monitor gain excluded; rendered sources show the73  render, which is what an export contains.74- The wave editor loads files up to 30 minutes at 48 kHz in memory.75
Files main
Menu

Theme