Skip to content

v0.3.7 — Sound Mode tables rebuilt from real hardware

Choose a tag to compare

@triumfas triumfas released this 12 Sep 09:24
· 6 commits to main since this release

Sound Mode, rebuilt from real hardware

v0.3.5/v0.3.6 shipped a Sound Mode mode table based on legacy Denon protocol documentation. Testing against an actual AVR-X3700H (probing telnet MS<mode>/MS? directly and cross-checking against the receiver's own web UI) turned up real discrepancies. This release replaces the guessed table with a verified one.

What was wrong

  • "Dolby Digital", "DTS Surround", "Standard", "Left", "Right" don't exist on this firmware. The real modes are Dolby Surround (SET command STANDARD, reads back DOLBY AUDIO-DSUR) and DTS Neural:X (SET command DTS SURROUND, reads back NEURAL:X) -- confirmed working with zero audio signal present, so the previous "only show these when the source carries a matching bitstream" gating was built on a wrong premise and has been removed.
  • "Matrix" belongs to the Music category, not Movie.
  • Movie/Music/Game/Pure aren't settable states -- they're categories. Sending MSMUSIC doesn't set a "Music" state; it jumps to whichever concrete mode was last selected within that category (confirmed: it landed on STEREO because Stereo was the last-selected item there, exactly matching what the receiver's own UI showed as bold/selected). This is genuine AVR behavior -- the front-panel display doesn't show "MUSIC" either.

What changed

  • Sound Mode (Quick)'s reported state is now honest about this: it only resolves to Movie/Music/Game/Pure when the active mode uniquely belongs to one category (e.g. "Mono Movie" -> Movie). For a mode shared across all three (Stereo, Dolby Surround, DTS Neural:X, Multi Ch Stereo, Virtual), the receiver genuinely doesn't expose which category is active -- so it now correctly shows unknown instead of a guess that's often wrong.
  • Sound Mode's table and grouping now match the receiver's real UI structure: Movie/Music/Game share a common pool of 5 modes plus 1-3 exclusive to each (Mono Movie / Rock Arena+Jazz Club+Matrix / Video Game); Pure is a fully separate set of 3 (Direct, Pure Direct, Auto).
  • "DTS Virtual:X" is recognized and displays correctly when it's the active mode, but isn't offered as a selectable choice -- no working SET command for it was found despite testing several candidates.

Upgrade

  • HACS users: update -> v0.3.7 -> restart Home Assistant.
  • Manual users: replace custom_components/denon_advanced_audio/ files and restart.

Thanks for testing this against real hardware and catching the mismatch -- if your receiver reports any raw sound mode not in this list, the raw_sound_mode attribute on select.denon_sound_mode will show it even when unrecognized, which is the fastest way to spot the next gap.