Set up an audio sequence


In the Edit Audio Sequence dialog box, you can set up an ordered sequence of audio elements to play to the caller. You can build simple audio sequences in Architect’s Sequence Builder, or you can create more complex sequences using expressions in the Custom Expression Builder.

By default, Architect opens the Edit Audio Sequence dialog box in Sequence Builder. To switch to Custom Expression Builder, click the Sequence Options menu in the upper right corner and select the Switch to custom expression link.

Note: These steps assume you are building the audio sequence in Sequence Builder, but provide examples of how the same string looks like if you add the audio in Expression Builder.


Use TTS, or text to speech, to type words or phrases that Architect will convert to speech and read back to the caller.

  1. Click Add TTS. Architect displays a Text To Speech field.
  2. Enter the word or phrase you want Architect to covert to audio for the caller.
  3. Optionally add another TTS, prompt, or data element to the sequence.

Example:

  • In Sequence Builder, type: Thank you for calling.
  • In Expression Builder, type: ToAudioTTS(“Thank you for calling.”)


Select a pre-recorded prompt, or add one from the dialog box. Adding one on the fly opens the Edit Prompt dialog.

  1. Click Add Prompt. Architect displays a Prompt field.
  2. Select the desired prompt from the drop-down list.

Note: To record or upload a new prompt, click the + button. The Create Prompt dialog box opens. For more information on recording prompts, see the Suggested content.

Example:

  • In Sequence Builder, select: Prompt.Greeting from the drop-down list.
  • In Expression Builder, type: ToAudio(Prompt.Greeting)


You can choose to direct Architect to analyze custom variables that you create, for example the caller’s zip code or what time the call entered the flow; or preset variables such as the caller’s ANI, DNIS, and time zone.

  1. Click Add Data. Architect displays a Data field.
  2. Click the arrow at the end of the Select variable drop-down list and select the appropriate attribute.
  3. Click the arrow at the end of the Select Options drop-down list and choose how to play the attribute details back to the caller. 

Note: The options available here change, depending on the variable you select.

Example:

  • In Sequence Builder, from the Select variable drop-down list select Call.ANI. From the Options drop-down list select As phone number.
  • In Expression Builder, type: ToAudioPhoneNumber(Call.ANI)


You can add blank audio to create a pause in the audio sequence.

  1. Click the arrow at the end of the Other drop-down list and choose Add Blank Audio.
  2. Click the arrow at the end of the Blank drop-down list and select the appropriate length of the blank audio, in milliseconds or seconds.

Example:

  • In Sequence Builder, from the Blank drop-down list select 3 seconds.
  • In Expression Builder, type: ToAudioBlank(3000)


You can add an expression to an audio sequence to perform certain operations, such as read information back to a caller.

  1. Click the arrow at the end of the Other drop-down list and choose Add Expression.
  2. In the Expression field, do one of the following:
  • Type the expression.
  • Click the Open large expression editor and in the Audio Expression dialog box use the Function and Operator help or other element tools to configure the full expression.

Example:

  • In Sequence Builder, in the Expression box type: ToAudioPhoneNumber(“812-555-1234”).
  • In Expression Builder, type: ToAudioPhoneNumber(“812-555-1234”).


Note: Some languages use a grammatical gender system that classifies nouns as being feminine, masculine, neuter, or common. In addition, other part of speech, such as articles, must also agree with the language gender. For information about configuring parameters that specify how TTS plays a supported language’s gender-specific content back to the caller at runtime, see the Suggested content.