Pure-Python, bit-exact decoder for Grundig .dss files (magic \x06dss, e.g.
the Digta 415) — the Grundig SP CELP variant that neither FFmpeg's dss_sp, the
Olympus-derived open codecs, nor NCH Switch decode correctly.
Reverse-engineered from Grundig's dss2wav.dll; output is byte-for-byte
identical to the reference on every test sample. The full story and the
recovered bitstream + synthesis spec are in
../docs/12-cracking-the-grundig-sp-codec.md.
pip install grundig-dss # from PyPI (pure-Python, zero dependencies)grundig-dss input.dss [output.wav] # console command (out defaults to the input stem)
# or, without installing:
python3 -m grundig input.dss output.wav
./decode.sh input.dss output.wavfrom grundig import decode_dss, write_wav
pcm = decode_dss("recording.dss") # list[int], 16 kHz mono 16-bit
write_wav("recording.wav", pcm)| File | What |
|---|---|
grundig_dss.py |
the decoder (no Wine, no DLL, stdlib only) |
gtables.json |
quantization tables (reflection codebooks, gains, pulse/binomial tables, resample FIR) extracted from dss2wav.dll's .data |
decode.sh |
thin CLI wrapper |
Olympus DSS/DS2 files (\x02dss/\x03dss/\x03ds2) are handled by the main
chain, not this module.