Multilingual Support
The vocode project can be configured to support multiple languages for speech synthesis and automatic speech recognition (ASR).Speech Synthesis
The speech synthesizer used in vocode is configurable. By default, theAzureSynthesizer
is used which supports over 75 voices across over 45 languages.
To configure a different language, modify the SynthesizerConfig
when initializing the conversation:
Transcription
The transcriber used in vocode is also configurable. By default,DeepgramTranscriber
is used which supports over 35 languages.
To configure a different language model, modify the language code passed to TranscriberConfig
when initializing the config object (en-US
is the default):
model="nova-2"
to use that model.
Other transcription services like Google Cloud Speech or Assembly AI could also be used by configuring the appropriate TranscriberConfig
.