Audio
Documentation for the Audio schema definition in the Polotno Design JSON Schema.
Audio
Type Information
Base Type: object
Properties
Property | Type | Description |
---|---|---|
delay | number | Delay before playing audio in milliseconds. |
duration | number | Duration of the audio in milliseconds. |
endTime | number | End time offset in seconds (0-1). |
id | string | Unique identifier for the audio track. |
src | string | URL or data URI of the audio file. |
startTime | number | Start time offset in seconds (0-1). |
volume | number | Volume level (0-1). |
JSON Schema
{
"additionalProperties": false,
"properties": {
"delay": {
"description": "Delay before playing audio in milliseconds.",
"type": "number"
},
"duration": {
"description": "Duration of the audio in milliseconds.",
"type": "number"
},
"endTime": {
"description": "End time offset in seconds (0-1).",
"type": "number"
},
"id": {
"description": "Unique identifier for the audio track.",
"type": "string"
},
"src": {
"description": "URL or data URI of the audio file.",
"type": "string"
},
"startTime": {
"description": "Start time offset in seconds (0-1).",
"type": "number"
},
"volume": {
"description": "Volume level (0-1).",
"type": "number"
}
},
"required": [
"id",
"src",
"duration",
"startTime",
"endTime",
"volume",
"delay"
],
"type": "object"
}
Related Definitions
No related definitions found.