Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHDERUPTENFRES

Elysia Tools

Navigation

Workflow Playbook

Audio Processing Regression Tests: Null, Distortion and Report Handoff

Compare a fixed audio reference with separately processed outputs, document null-test coverage and suitable single-tone THD results, and deliver a reviewed regression record with files and hashes.

This topic isn't available as a one-click template yet.Browse runnable topics →

Start here

New to this workflow? Follow the steps in order, starting with the first tool below. Already know what you need? Jump straight to the matching step — every tool in this workflow is listed in the comparison table.

First tool: Dual-channel Audio Signal Generator

Hubs

Tools in this workflow, compared

ToolWhat it doesCategory
Dual-channel Audio Signal GeneratorGenerate independent left/right waveforms, sweeps, noise or silence as a stereo WAV.Media
Media Metadata to JSONExtract audio/video metadata as JSON with ffprobe.Media
Audio Waveform GeneratorGenerate a waveform image from an audio fileMedia
Audio Null TestCompare two audio files by direct sample subtraction and export residual measurements.Media
Audio Spectrogram Generator

Hubs

Continue with adjacent topic clusters

Upload an audio or video file to generate a PNG spectrogram on the server. Set its pixel dimensions and palette, and optionally show time, frequency and intensity labels.
Media
THD AnalyzerMeasure single-tone harmonic distortion per channel and download a ZIP report.Media
JSON Diff VisualizerCompare two JSON payloads and render a visual HTML diff with path-level additions, removals, changes, and statisticsDevelopment
File Hash VerifierCalculate MD5/SHA1/SHA256 hash values for files and verify against expected hashesUtilities

Specify the change before measuring it

This workflow serves developers and QA teams reviewing one audio-processing change. Freeze a case ID, input, processor build, settings and expected behavior before looking at results. An identity or bypass case differs from an EQ, gain or saturator case: the latter may be expected not to cancel. Define numeric limits and who can approve them; do not invent a universal acceptable residual or distortion percentage afterwards.

The dual-channel generator can create a repeatable fixture, but processing that input through your software remains a separate action. Save generator settings and returned metadata. For a concrete single-tone case, use 48 kHz, a three-second sine at 1 kHz on both channels, a peak target of -18 dBFS and matched phases. Choose a one-second window beginning at 0.5 seconds, away from fades, and verify that the output remains suitable before applying THD. This example is not an acoustic calibration; lower playback gain before auditioning.

Reconcile files, latency and comparison coverage

Probe both files for encoding, rate, channels and duration, and inspect their waveforms. Null analysis requires matching rates and channel counts, supports mono or stereo at 8–96 kHz and limits each input to 30 seconds. It does not resample or downmix. A channel swap, conversion or clock drift is a separate mismatch, not something an integer offset will generally repair.

Residual means A minus B. A positive offset skips that many frames of B, while a negative one skips A; the available overlap is compared. Record the offset reason, comparedFrames, excludedFrames and wholeFilesCompared. An offset can remove the very transient you wanted to test, so state what remains untested.

Check simple controls: identical decoded arrays cancel, while B at half A's amplitude leaves half A as residual, approximately -6.02 dB relative to a non-silent reference. This illustrates gain sensitivity, not a pass limit. There is no automatic alignment, gain fitting, polarity correction, DC removal or normalization. Zero amplitude and a ratio with a silent reference can produce null logarithmic fields; do not indiscriminately replace those fields with numeric zero. A float residual above full scale is preserved, and some playback software may clip it.

Use THD only for an eligible stationary segment

A spectrogram can help locate a stable region, but its image is not a numeric proof of eligibility. The analyzer uses a 0.05–5 second window with at least 20 fundamental cycles and searches near the supplied nominal frequency. Keep the same window location, duration, nominal frequency and harmonic order when comparing approved reports. Record actual analyzed duration and each channel separately.

Inspect status and reasons before reading a percentage. A dominant single-tone check and a half-window stability screen can leave results unreliable or inconclusive. Selected harmonic orders too close to or above the Nyquist guard band are omitted; different omitted sets make totals less comparable. Noise at harmonic frequencies can contribute. The result is not THD+N, a sweep or music measurement, calibrated analog bandwidth or certified uncertainty.

For intended time-varying or nonlinear processing, the test may be inapplicable or its distortion may be intentional. Preserve those cases rather than forcing a low number. Numeric analysis and listening answer different questions.

Compare like cases and deliver the limits of the conclusion

Keep unmodified JSON and CSV reports, residual.wav and visual evidence from the same run. Waveform images and envelope summaries are not every sample. Align case IDs, channel order and settings before using a path-level JSON diff; timestamps and filenames can change without a signal regression, while a different window can invalidate a direct comparison.

Record observed changes, predeclared limits, acceptance or rejection, owner and unresolved items. Exact cancellation applies only to compared decoded samples, not necessarily all source content or container bytes. Hash the actual delivered inputs, outputs, reports and archives with SHA-256 and retain local copies; hashes preserve identity rather than certify correctness.

Use the related signal-generation workflow to design richer fixtures, the lossy-codec workflow for codec-specific master delivery and broader audio analysis for general source investigation. This page does not run your processor, repair the result or establish whole-device acoustic performance.

Before you start

  • Define the processor build, settings, expected change and case-specific acceptance limits before testing. Run the processor separately; these tools do not execute your DSP or automate a regression suite.
  • Preserve a fixed test input and separately produced output, with sample rate, channel order, duration and known latency. Use unmodified lossless references where possible and keep an approved prior report.
  • For THD prepare a stationary sine segment, nominal frequency, window and harmonic order. Designate a reviewer and lower playback volume before listening to test or residual audio.

Workflow playbook

Review audio-processing changes against a fixed input and an approved baseline

  1. 1

    Freeze the input and processing contract

    Generate a controlled stereo fixture when needed, document its exact settings and run your processor separately. Preserve the input, output, build and expected acceptance behavior.

  2. 2

    Check format and visible signal behavior

    Probe both files and inspect waveforms for channel, duration or gross envelope mismatches. Do not silently resample, remix or normalize to make them comparable.

  3. 3

    Measure the null over a declared range

    Compare A minus B with a documented integer offset. Inspect residual metrics, excluded frames and wholeFilesCompared; keep the residual WAV without hidden gain fitting.

  4. 4

    Review suitable single-tone distortion

    Use a spectrogram to check for a stationary region, then measure THD only where applicable. Record per-channel status, window and omitted harmonic orders; retain inconclusive cases.

Choose the right path

Should this processing cancel?

Identity or bypass cases may require an exact null; intentional gain, EQ or nonlinear processing need their own expected changes. A nonzero residual alone is not a defect.

Are the files and compared ranges equivalent?

Null inputs must share sample rate and channel count. Choose a justified integer offset and record excluded frames; zero residual over an overlap does not certify whole files.

Is a THD estimate applicable?

Use a dominant stationary single tone and inspect status, window and omitted harmonics. Music, sweeps, multitone or inconclusive results cannot be turned into a valid THD pass.

Done when

  • Each case links input, processed output, processor version/settings, expected behavior and predeclared limits; the source of the approved baseline is recorded.
  • Null results include offset, compared and excluded frames, per-channel residual metrics and whole-file coverage; sample equality is not confused with file-byte identity.
  • Applicable THD results retain nominal/measured frequency, window, harmonic order, omitted orders and status; unreliable or missing values are not treated as zero distortion.
  • The final local package contains raw files, residual, numeric reports, review decisions, unresolved items and SHA-256 hashes, without claims of analog calibration or universal sound quality.
Hub

Audio Test Signal Generation, Review and Handoff

Create sweep, stereo or measurement-excitation fixtures, check their format and expected signal behavior, and hand off parameters, review evidence and file hashes without claiming a measured acoustic response.

Hub

Audio Master Lossy Codec Preflight and Delivery Checks

Preview a finished master through lossy encoding, inspect decoded peak and loudness changes, adjust only when necessary, and verify the exact final MP3, AAC or Opus delivery file.

Hub

Audio Measurement and Inspection

Measure loudness, peaks, dynamics, musical descriptors, spectrum, and metadata before mastering, publishing, or archiving audio.

Home
Tools3212
Workbench
Samples593
Visualizations471
Viewers103
Hubs239
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance647

Calculators, numerics, date logic, statistics, and finance tools

Design & Color298

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

Lead Generation Quiz Launch and Contact Handoff
Memorial Drafts: Family Review and Print Handoff
Private Habit Records: Backup, Restore and Sharing Review
Article to X and LinkedIn Drafts: Fact Review and Handoff
Markdown Interactive Deck Review and Offline Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
  • 5

    Compare the baseline and hand off evidence

    Align case and channel identities before comparing JSON reports. Review deltas against the declared limits, then archive originals, residuals, decisions and final hashes.

  • Media

    Dual-channel Audio Signal Generator

    Generate independent left/right waveforms, sweeps, noise or silence as a stereo WAV.

    Media

    Media Metadata to JSON

    Extract audio/video metadata as JSON with ffprobe.

    Media

    Audio Waveform Generator

    Generate a waveform image from an audio file

    Media

    Audio Null Test

    Compare two audio files by direct sample subtraction and export residual measurements.

    Media

    Audio Spectrogram Generator

    Upload an audio or video file to generate a PNG spectrogram on the server. Set its pixel dimensions and palette, and optionally show time, frequency and intensity labels.

    Media

    THD Analyzer

    Measure single-tone harmonic distortion per channel and download a ZIP report.

    Development

    JSON Diff Visualizer

    Compare two JSON payloads and render a visual HTML diff with path-level additions, removals, changes, and statistics

    Utilities

    File Hash Verifier

    Calculate MD5/SHA1/SHA256 hash values for files and verify against expected hashes