|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIS. - AI Speech Synthesis > AIS. - AI Speech Synthesis |
AIS.SetVoice |
Top |
MiniRobotLanguage (MRL)
AIS.SetVoice
Set the voice for text-to-speech
Intention
The AIS.SetVoice command selects the voice to use for text-to-speech conversion. Elevenlabs provides various voices with different characteristics.
Syntax
AIS.SetVoice|$$VoiceID
P1 - $$VoiceID - The voice identifier (name or ID)
Common Voice IDs
- rachel - Natural female voice
- adam - Natural male voice
- bella - Young female voice
- antoni - Young male voice
- elli - Professional female voice
- josh - Professional male voice
Example
' Set voice to Rachel
AIS.SetVoice|rachel
' Use male voice
AIS.SetVoice|adam
' Now speak with this voice
AIS.SayText|Hello, I am speaking with the selected voice.
Related Commands
- AIS.GetVoices - List available voices
- AIS.SetVoiceId - Set voice by ID