Separate the edit from its container
We check the selected PCM interval, the transformed samples, actual MP3 frames and decoded playback as separate evidence. The sample files are synthetic sounds created for testing, including a stereo tone with 440 Hz left and 330 Hz right, a 120 BPM phrase, mono audio and a tagged CBR MP3. A reference file establishes an input; the browser-generated output still needs its own check.
For +3 semitones, the expected frequency ratio is 2^(3/12). The stereo reference targets about 523.25 Hz and 392.44 Hz while keeping the selected PCM duration. At −12, the targets are 220 Hz and 165 Hz. Combined +3 and 0.75× targets the same shifted frequencies with four thirds of the source duration. Linked 1.5× targets 660 Hz and 495 Hz with two thirds of the duration.
How time, gain and channel checks work
Source selection is rounded to sample-frame boundaries. The output frame target is the selected count divided by speed, rounded once. MP3 packaging can add priming and padding, so its total frame duration is not assumed to equal the PCM target. Compare cue spacing as well as first and last audible events.
Gain is measured in linear amplitude and dB. A +6 dB request is about a 1.995 multiplier before any reported safety attenuation. Peak normalization targets the displayed PCM sample peak. Decoded MP3 peak is checked separately and can overshoot. Mono downmix is explicit; preserving two channels does not by itself prove perfect stereo phase quality.
Verify the actual exported bytes
MP3 output is accepted only when it has complete recognizable Layer III frames with the expected rate, channel count and selected CBR bitrate, and the browser can decode it for a separate playback-duration and peak check. An independent FFmpeg/ffprobe pass in release QA checks browser-generated files again. Frame inspection does not substitute for listening to attacks, speech and music.
You can reproduce a tone-based pitch test and then use the MP3 inspector on the downloaded bytes. The synthetic stereo WAV reference is useful when exact input samples matter. The sample is not copyrighted music or a submitted user recording.
Open-source components
MP3 encoding uses the separate, unmodified LAME JavaScript port @breezystack/lamejs 1.2.7. It is loaded only when creating an MP3. Read the LAME project information, local LGPL license, third-party notices and complete corresponding encoder source. The replaceable library remains separate from the application. The complete application source and required font and software licenses are available locally.
What testing does and does not establish
Release QA records browser version, device environment, selected settings, malformed-file and cancellation behavior, and independent output measurements. Automated browser emulation checks small layouts and interaction states; it is not a physical phone test. Untested physical devices or browser audio paths remain unverified. No single tone test establishes subjective quality on every recording.
The Web Audio API documentation explains the browser processing foundation. For a repeatable external codec inspection, consult the official ffprobe documentation.