Lab 01
Codec Lab
Pick some audio, a codec and a bitrate. Your browser runs my LHDC V5 encoder →LHDC V5 decoder, or my SSC encoder →SSC decoder: the same C that runs on the ESP32, compiled to WebAssembly. Then flip between the original and the codec's output, or listen to only what the codec threw away.
A · originalB · LHDC V5Δ · removed (+20 dB)0:00.0
keys: space · A · B · D
- Avg bitrate
- –
- vs. PCM
- –
- SNR · level-matched
- –
- Codec delay
- –
- Frames
- –
- Speed
- –
Reading the results
- SNR is a rough guide. Both codecs are perceptual: they spend bits where you can hear them, so a number that looks low can still sound clean. Trust Δ and your ears.
- Δ plays what was removed, boosted 20 dB. At high bitrates it's quiet hiss; at 88–256 kbps you'll hear the top end and transients going.
- Try “Transients” at a low bitrate to hear pre-echo, and “Sweep” to see where the spectrum gets cut.
- Codec delay is the encoder + decoder look-ahead. Playback is aligned for you, so A/B switches are sample-accurate.
Use these settings
Take the codec, rate and bitrate you just heard into your own project. The builder generates the integration code for ESP-IDF, PlatformIO or desktop.