Silence (APL for Audio)
Note: Amazon offers this functionality as a public beta, and might change, improve, or correct the functionality as customers provide feedback and the feature is iterated on.
A Silence
component plays silent audio for a defined amount of time. You can use this component to add pauses between other audio components.
Properties
The Silence
component has the base component properties and the following component-specific properties:
Property | Type | Default | Description |
---|---|---|---|
duration |
Number | REQUIRED | Specifies the number of milliseconds that the silent audio plays. |
Example
The following example demonstrates a basic Silence
component that plays silent audio for 1.5 seconds:
{
"type": "Silence",
"duration": 1500
}