<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIS. - AI Speech Synthesis > AIS.-Voice Settings > Elevenlabs Speech Synthesis |
MiniRobotLanguage (MRL)
AIS.Set Voice ID
Set Voice ID based on input.
Intention
The AIS.Set Voice ID command will set the Voice directly, based on the given Voice ID for a specified voice.
The difference to the AIS.Set Voice Command is, that this command directly changes the Voice ID, while AIS.Set Voice will
accept Names and numbers as Parameter (is more user-friendly).
Therefore prefer AIS.Set Voice Command and use this only for special purpose.
A voice Id may look somehow like this: "ErXwobaYiN019PkySvjV".
Its an internal Hash for a voice.
You can directly set a Voice using the Voice-ID with the command:
' This will set the used Voice to "Antoni"
$$VID=ErXwobaYiN019PkySvjV
AIS.Set Voice ID|$$VID
Here is a list of Voice, and the Voice ID. These voices are "hardcoded" and not updated from the server.
If you want to specify a voice that is not available within these 42 Voices, you need to use the
AIS.Set Voice ID - Command.
Number |
Name |
Voice ID |
Description |
1 |
Adam |
pNInz6obpgDQGcFmaJgB |
American, deep |
2 |
Antoni |
ErXwobaYiN019PkySvjV |
American, well-rounded |
3 |
Arnold |
VR6AewLTigWG4xSOukaG |
American, crisp |
4 |
Bella |
EXAVITQu4vr4xnSDxMaL |
American, soft |
5 |
Callum |
N2lVS1w4EtoT3dr4eOWO |
American, hoarse |
6 |
Charlie |
IKne3meq5aSn9XLyUdCD |
Australian, casual |
7 |
Charlotte |
XB0fDUnXU5powFXDhCwa |
English-Swedish, seductive |
8 |
Clyde |
2EiwWnXFnvU5JabPnv8n |
American, war veteran |
9 |
Daniel |
onwK4e9ZLuTAKqWW03F9 |
British, deep |
10 |
Dave |
CYw3kZ02Hs0563khs1Fj |
British-Essex, conversational |
11 |
Domi |
AZnzlk1XvdvUeBnXmlld |
American, strong |
12 |
Dorothy |
ThT5KcBeYPX3keUQqHPh |
British, pleasant |
13 |
Elli |
MF3mGyEYCl7XYWbV9V6O |
American, emotional |
14 |
Emily |
LcfcDJNUP1GQjkzn1xUU |
American, calm |
15 |
Ethan |
g5CIjZEefAph4nQFvHAz |
American, Unknown |
16 |
Fin |
D38z5RcWu1voky8WS1ja |
Irish, sailor |
17 |
Freya |
jsCqWAovK2LkecY7zXl4 |
American, Unknown |
18 |
Gigi |
jBpfuIE2acCO8z3wKNLl |
American, childlish |
19 |
Giovanni |
zcAOhNBS3c14rBihAFp1 |
English-Italian, foreigner |
20 |
Glinda |
z9fAnlkpzviPz146aGWa |
American, witch |
21 |
Grace |
oWAxZDx7w5VEj9dCyTzz |
American-Southern, Unknown |
22 |
Harry |
SOYHLrjzK2X1ezoPC6cr |
American, anxious |
23 |
Indigo |
9Ka5mvTU6NwncFO6GlOt |
Indian, Unknown |
24 |
James |
ZQe5CZNOzWyzPSCn5a3c |
Australian, calm |
25 |
Jeremy |
bVMeCyTHy58xNoL34h3p |
American-Irish, excited |
26 |
Jessie |
t0jbNlBVZ17f02VDIeMI |
American, raspy |
27 |
Joseph |
Zlb1dXrM653N07WRdFW3 |
British, Unknown |
28 |
Josh |
TxGEqnHWrfWFTfGW9XjX |
American, deep |
29 |
Lena |
shZbofzc7bU41z6VrBth |
American, Unknown |
30 |
Liam |
TX3LPaxmHKxFdv7VOQHJ |
American, Unknown |
31 |
Matilda |
XrExE9yKIg1WjnnlVkGX |
American, warm |
32 |
Matthew |
Yko7PKHZNXotIFUBG7I9 |
British, Unknown |
33 |
Michael |
flq6f7yk4E4fJM5XTYuZ |
American, Unknown |
34 |
Mimi |
zrHiDhphv9ZnVXBqCLjz |
English-Swedish, childish |
35 |
Myra |
7sWxe4rdzP2SStDoCs5H |
American, Unknown |
36 |
Nicole |
piTKgcLEGmPE4e6mEKli |
American, whisper |
37 |
Patrick |
ODq5zmih8GrVes37Dizd |
American, shouty |
38 |
Rachel |
21m00Tcm4TlvDq8ikWAM |
American, calm |
39 |
Ryan |
wViXBPUzp2ZZixB1xQuM |
American, soldier |
40 |
Sam |
yoZ06aMxZJJ28mfd3POQ |
American, raspy |
41 |
Serena |
pMsXgVXv3BLzUgSXRplE |
American, pleasant |
42 |
Thomas |
GBv7mTt0atIp3Br8iCZE |
American, calm |
Syntax
AIS.Set Voice ID|P1
AIS.Svi|P1
Parameter Explanation
•P1: A string that contains the Voice ID.
Example
'***********************************
' AIS.-Sample
'***********************************
$$VOI=Rachel
AIS.Get Voice ID|$$VOI|$$VID
' Use the ID for setting the voice
AIS.Set Voice ID|$$VID
MBX.$$VID
ENR.
Remarks
-
Limitations:
-
See also:
•