DSPi v1.1.7-beta2 brings Dolby Digital and DTS decoding to Raspberry Pi Pico 2
Weeb Labs' DSPi firmware now decodes compressed 5.1 surround from S/PDIF on the RP2350 while holding output latency at 4ms, with the RP2040 build muting compressed streams instead.
Summary
Weeb Labs has published DSPi v1.1.7-beta2, the second beta of its audio DSP firmware for the Raspberry Pi Pico and Pico 2. The headline change is compressed-audio decoding on the RP2350: Dolby Digital and DTS bitstreams arriving over S/PDIF are decoded to 5.1 surround, and decoding can be switched off entirely. Dynamic range compression and dialogue normalization are both exposed as configurable options.
The RP2040 build behaves differently: it detects compressed audio and mutes it rather than decoding, reflecting the tighter compute budget of the older microcontroller. During decoding the firmware keeps output latency at 4ms, and the previously stored setting is restored once the stream ends. The release is a beta, so the firmware is aimed at early adopters and hobbyist DSP builders rather than production audio chains.
What changes in DSPi v1.1.7-beta2 on RP2350 and RP2040
- RP2350 decoding path: The Pico 2 build decodes Dolby Digital and DTS bitstreams received over S/PDIF into 5.1 surround output, a capability absent from earlier DSPi releases.
- RP2040 fallback: On the original Pico, the firmware detects compressed audio and mutes it instead of attempting decode, so the older MCU degrades safely rather than producing garbage output.
- Latency budget: Output latency is held at 4ms while a compressed stream is being decoded, keeping the DSP chain within a real-time window.
- Configurable processing: Dynamic range compression and dialogue normalization are both user-configurable, and decoding itself can be turned off.
- State handling: The stored setting is restored once the compressed stream ends, so the firmware returns to its prior configuration without manual intervention.
Why it matters
DSPi shows the RP2350 being pushed into territory normally occupied by dedicated audio DSP chips, which matters for open-hardware builders assembling low-cost surround decoders and active-speaker crossovers. Because the firmware is published on GitHub, the Dolby Digital and DTS handling can be inspected and reused by other Pico-based audio projects. The RP2040 mute fallback also gives existing Pico owners a predictable upgrade path without risking broken output on hardware that cannot keep up.
Original reference: blog.adafruit.com →