Silence (APL for Audio)
Note: Learn how to improve your skills with APL with Build visually rich experiences using APL at the Alexa Learning Lab.
A Silence
component plays silent audio for a defined amount of time. You can use this component to add pauses between other audio components.
Note: You must combine
Silence
with other components in an audio response. The audio response can't consist of the Silence
component by itself.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 between two speech components:
Related topics
Last updated: Nov 28, 2023