AudioSceneJson
object AudioSceneJson
JSON codec for AudioScene. Hosts can ship .json files as their own presets.
{
"id": "rain-night",
"layers": [
{
"id": "rain",
"gainDb": -6.0,
"effects": [{ "type": "REVERB", "params": { "0": 0.5 } }]
}
]
}Content copied to clipboard
SceneLayer.id is opaque. The host maps it to a file or generator when calling AudioScenePlayer.transitionTo.