Declared in STFileCategory.swift

STFileCategory

This string enumerator defines the category of files accessed and used as resources by STVoiceFlowRunner module for Voiceflow processing.

Definition

enum STFileCategory: String {
   case FC_PLAY_AUDIO = "PLAY_AUDIO"
   case FC_PLAY_TEXT = "PLAY_TEXT"
   case FC_RECORD_AUDIO = "RECORD_AUDIO"
   case FC_SPEECH_RECOGNITION = "SPEECH_RECOGNITION"
   case FC_SPEECH_UTTERANCE = "SPEECH_UTTERANCE"
   case FC_SPEECH_SYNTHESIS = "SPEECH_SYNTHESIS"
   case FC_VOICEFLOW = "VOICEFLOW"
}

Constants

case FC_PLAY_AUDIO

Represents recorded audio files or audio prompts to be processed for audio playback during Voiceflow processing.

Declared In STFileCategory.swift.

case FC_PLAY_TEXT

Represents text files containing text to be processed for audio playback using speech synthesis during Voiceflow processing.

Declared In STFileCategory.swift.

case FC_RECORD_AUDIO

Represents audio files recorded during the processing of Voiceflows. Audio files may be recorded during:
- Processing of “Record Audio” Voiceflow modules.
- Speech recognition with saving speech utterance enabled.
- Voice activity detection with silence filtering of audio.

Declared In STFileCategory.swift.

case FC_SPEECH_RECOGNITION

Represents files containing optional specific speech recognition congifurations and data used to perform customized speech recognition tasks. These files provide the following resources:
- Contextual phrases for speech recognition.

Declared In STFileCategory.swift.

case FC_SPEECH_UTTERANCE

Represents speech utterance files that speech recognition will process to produced their recognized text.

Declared In STFileCategory.swift.

case FC_SPEECH_SYNTHESIS

Represents files containing optional specific speech synthesis configurations and data needed to perform customized speech synthesis tasks. These files provide the following resources:
- Aliases for speech synthesis.
- Phonemes for speech synthesis.

Declared In STFileCategory.swift.

case FC_VOICEFLOW

Represents the Voice Flow files that an application submits for processing. Voice Flow files include:
- Voiceflow (VF) files containing the JSON structured voice flow modules (VFMs).
- Audio prompt (AP) files contatining the JSON structured audio prompt modules (APM)s referenced in Voiceflow files.
- Audio-to-text map files which contain mapping of recorded audio file names to their corresponding text which may be used for audio playback alternative of synthesized speech.

Declared In STFileCategory.swift.

Declared In

STFileCategory.swift