| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.AlexaBusiness.Types.Audio
Description
Documentation
The audio message. There is a 1 MB limit on the audio file input and the only supported format is MP3. To convert your MP3 audio files to an Alexa-friendly,
required codec version (MPEG version 2) and bit rate (48 kbps), you might use converter software. One option for this is a command-line tool, FFmpeg. For more information, see FFmpeg. The following command converts the provided <input-file> to an MP3 file that is played in the announcement:
ffmpeg -i <input-file> -ac 2 -codec:a libmp3lame -b:a 48k -ar 16000 <output-file.mp3>
See: newAudio smart constructor.
Constructors
| Audio' | |
Fields
| |
Instances
| ToJSON Audio Source # | |
Defined in Amazonka.AlexaBusiness.Types.Audio | |
| Generic Audio Source # | |
| Read Audio Source # | |
| Show Audio Source # | |
| NFData Audio Source # | |
Defined in Amazonka.AlexaBusiness.Types.Audio | |
| Eq Audio Source # | |
| Hashable Audio Source # | |
Defined in Amazonka.AlexaBusiness.Types.Audio | |
| type Rep Audio Source # | |
Defined in Amazonka.AlexaBusiness.Types.Audio type Rep Audio = D1 ('MetaData "Audio" "Amazonka.AlexaBusiness.Types.Audio" "amazonka-alexa-business-2.0-BWvKfxFukoyBarGovAkdOS" 'False) (C1 ('MetaCons "Audio'" 'PrefixI 'True) (S1 ('MetaSel ('Just "locale") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Locale) :*: S1 ('MetaSel ('Just "location") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) | |
Create a value of Audio with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:locale:Audio', audio_locale - The locale of the audio message. Currently, en-US is supported.
$sel:location:Audio', audio_location - The location of the audio file. Currently, S3 URLs are supported. Only
S3 locations comprised of safe characters are valid. For more
information, see
Safe Characters.
audio_locale :: Lens' Audio Locale Source #
The locale of the audio message. Currently, en-US is supported.
audio_location :: Lens' Audio Text Source #
The location of the audio file. Currently, S3 URLs are supported. Only S3 locations comprised of safe characters are valid. For more information, see Safe Characters.