Using the API to set 'multiChStereo' and '2chStereo' soundFields on bullt-in Chromecast input

117 Views Asked by At

Regarding programming with the Sony Audio Control API.

I am aware that the only 2 soundFields that are selectable when using the built-in Chromecast on the Sony STR-DN1080 are '2Ch Stereo' and 'Multi Ch Stereo'. You can press the "2ch/Multi" button on the IR remote control when using this input, as per the online help.

However, when using the API to select these two soundFields using:

{
    "id":8,
    "method":"setSoundSettings",
    "params":[{
        "settings":[{
        "target":"soundField",
        "value":"2chStereo"
    }]
    }],
    "version":"1.1"
}

and:

{
    "id":9,
    "method":"setSoundSettings",
    "params":[{
        "settings":[{
        "target":"soundField",
        "value":"multiChStereo"
    }]
    }],
    "version":"1.1"
}

I received the following JSON response:

{
  "error": [
    15,
    "unsupported operation"
  ],
  "id": 8
}

This two JSON requests are able to select the soundFields on other inputs however. And the IR remote works to select these soundFields when using the built-in Chromecast (as per the online help), but I cannot access them when using API.

1

There are 1 best solutions below

7
On

Looking at the response it looks like the "target": "soundField" is "currentValue": "off" for both and the "target": "soundField" is set to "isAvailable": false. So my guess is that even if it looks like you are switching then using the remote in practice nothing is really happening in the receiver. Can't confirm this right now since I'm traveling this week.

Another way to test what is available is to use "Sony | Music Center" (App) and my guess is that "sound field" settings is not available in this case there also.