@slemson I see your confusion.
The problem is that the sound modes that are available are dependent on the sound input the receiver gets.
For instance the sound mode “DOLBY TRUEHD” is only available when the receiver is currently playing a Dolby TrueHD encoded surround sound, but cannot be selected when the iput is a simple stereo stream. When the receiver is getting a surround sound source that contains the same amount or more audio channels than you have set up (for instance the source is Dolby TrueHD 7.1 when you only have a 5.1 setup) the sound mode will be fixed to whatever the input is and it is not possible to set the sound mode (in this case it will be Dolby TrueHD), this is also the case when you use the remote of your receiver.
Therefore setting the sound mode is only usefull when the input to your receiver contains less channels than your setup (aka a stereo 2.0 input while you have a 5.1 setup). Your receiver then needs to artificially utilize the other 3 speakers and subwoofer using a sound mode.
Unfortunately the API of Denon/Marantz does not allow to simply provide the exact sound mode you want, all available sound mode commands that I know off have been implemented and are acessible in the frontend of HomeAssistant.
Presuming you have a stereo input and a 5.1 setup the following will apply:
- ‘MUSIC’, ‘MOVIE’ and ‘GAME’ will put the receiver in the last sound mode you selected for the music, movie or game sound mode button on your remote of your receiver.
- ‘STEREO’ will put the receiver to stereo sound mode
- ‘MCH STEREO’ will put the receiver to ‘MULTI CH STEREO’ sound mode.
- ‘VIRTUAL’ will put the receiver to 'VIRTUAL’ sound mode.
- ‘PURE DIRECT’ will put the receiver to ‘PURE DIRECT’ sound mode.
- ‘DTS SURROUND’ will put the receiver to ‘DTS NEO:6 MUSIC’, ‘DTS NEO:6 CINEMA’ or ‘DOLBY D +NEO:X G’ depending on the last selected ‘MUSIC’, ‘MOVIE’ or ‘GAME’ command. Therefore issuing first ‘MOVIE’ command and then ‘DTS SURROUND’ schould put it to ‘DTS NEO:6 CINEMA’.
- ‘DOLBY DIGITAL’ will put the receiver to ‘PLII MUSIC’, ‘PLII MOVIE’ or ‘PLII GAME’ depending on the last selected ‘MUSIC’, ‘MOVIE’ or ‘GAME’ command. Therefore issuing first ‘MOVIE’ command and then ‘DOLBY DIGITAL’ schould put it to ‘PLII MOVIE’.
Personally I have a Marantz SR5008 and that does not support “DTS Neural:X”, so I do not know which combination of commands you would need to get it in that mode.
Bellow is the complete sound mode structure currently supported by HomeAssistant, the keys in the dict are the commands and the values are the sound modes as reported by the receiver.
SOUND_MODE_MAPPING = OrderedDict(
[('MUSIC', ['PLII MUSIC', 'DTS NEO:6 MUSIC', 'DOLBY D +NEO:X M',
'ROCK ARENA', 'JAZZ CLUB', 'MATRIX']),
('MOVIE', ['PLII MOVIE', 'PLII CINEMA', 'DTS NEO:X CINEMA',
'DTS NEO:6 CINEMA', 'DOLBY D +NEO:X C', 'MONO MOVIE',
'PLIIX CINEMA']),
('GAME', ['PLII GAME', 'DOLBY D +NEO:X G', 'VIDEO GAME']),
('AUTO', ['None']),
('VIRTUAL', ['VIRTUAL']),
('PURE DIRECT', ['DIRECT', 'PURE_DIRECT', 'PURE DIRECT']),
('DOLBY DIGITAL', ['DOLBY DIGITAL', 'DOLBY D + DOLBY SURROUND',
'DOLBY DIGITAL +', 'STANDARD(DOLBY)', 'DOLBY SURROUND',
'DOLBY D + +DOLBY SURROUND', 'NEURAL', 'DOLBY HD',
'MULTI IN + NEURAL:X', 'DOLBY D + NEURAL:X',
'DOLBY DIGITAL + NEURAL:X',
'DOLBY DIGITAL + + NEURAL:X', 'DOLBY ATMOS',
'DOLBY AUDIO - DOLBY SURROUND', 'DOLBY TRUEHD']),
('DTS SURROUND', ['DTS SURROUND', 'DTS NEURAL:X', 'STANDARD(DTS)',
'DTS + NEURAL:X', 'MULTI CH IN', 'DTS-HD MSTR',
'DTS VIRTUAL:X']),
('MCH STEREO', ['MULTI CH STEREO', 'MULTI_CH_STEREO', 'MCH STEREO']),
('STEREO', ['STEREO']),
(ALL_ZONE_STEREO, [ALL_ZONE_STEREO])])