AudioConfig

audio.AudioConfig

Conversation audio options.

example

const conversation = application.createConversation(); conversation.audio.tts = "dasha"; // use Dasha's own STT engine conversation.audio.noiseVolume = 0.1; // lower the background noise volume

Indexable

[key: string]: unknown

Conversation audio options.

Properties

interruptDelay

Optional interruptDelay: number


noiseVolume

Optional noiseVolume: number

Volume multiplier of the background noise applied to the AI audio track relative to the audio track.

Recommended value range is 0.1-0.3.


stt

A speech-to-text provider to be used by the conversation.

default "default"


tts

A text-to-speech provider to be used by the conversation.

default "default"


vadPauseDelay

Optional vadPauseDelay: number

Length of expected pause in seconds at the end of human speech.

Too big of a value will lead to long pauses before answer. Too small of a value will lead to errors in speech recognition.


vadStartupDelay

Optional vadStartupDelay: number

Delay in seconds between executing the #connect method and starting of Voice Activity Detector.

It is necessary for the correct processing of the audio channel, due to the lack of data in the beginning of the audio track.

Found a mistake? Email us, and we'll send you a free t-shirt!

Enroll in beta

Request invite to our private Beta program for developers to join the waitlist. No spam, we promise.