(This post has been tagged "sony" for Sony Engineers to find, as per: https://developer.sony.com/develop/audio-control-api/get-support)
Hello. I have having a problem with the Sony Audio Control API. When formatting JSON requests to select Sound Fields, the following is successful:
{
"id":4,
"method":"setSoundSettings",
"params":[{
"settings":[{
"target":"autoFormatDirect_2ch",
"value":"2chStereo"
}]
}],
"version":"1.1"
}
However, when "value" is set to "auto" instead of "2chStereo" it fails with:
{
"error": [
3,
"illegal argument"
],
"id": 4
}
According to the docs for setSoundSettings, "auto" is what I need to select AFD mode. https://developer.sony.com/develop/audio-control-api/api-references/api-overview-2#_setsoundsettings_v1_1
I am testing on a Sony STR-DN1080. Many thanks.
By using the getSoundSettings
I get that for "autoFormatDirect_2ch" the following values are supported by STR-DN1080:
but this is how you change settings for the A.F.D
If you want the receiver to use the AFD mode set the "soundField" to "audioFormatDecoding"
Unfortunately the list in the documentation of all valid inputs for the "setSoundSettings":"soundField" is not complete. So you have to use "getSoundSettings" to get all currently supported values.
Hope this helped