Gets or sets the locale id of the speech data.(When 0 is specified, the speech synthesis engine specified in Hazira is selected.)
- Type: ushort
- Access type: read / write
- Default value: 0x00
- Range: 0 – 65,535
Note
If you want to enable this property, need to set up the following Haruzira’s settings menu in advance.
General settings -> Speech Convert Type: “To SSML”.
*need to install language pack on the windows 10 in advance.
you can add or confirm at OS settings.
(Settings -> Time & Language -> Regional & Language)
Examples
C#
1 2 3 4 5 6 |
ClientTcpCommunication cltComm = new ClientTcpCommunication(); //Get ushort locale = cltComm.ReqSendDataSpeechLocaleId; //Set cltComm.ReqSendDataSpeechLocaleId = 0x0409; //English(U.S.) |
Ruby
1 2 3 4 5 6 |
cltComm = ClientTcpCommunication.new #Get locale = cltComm.ReqSendDataSpeechLocaleId #Set cltComm.ReqSendDataSpeechLocaleId = 0x0409 #English(U.S.) |
Python
1 2 3 4 5 6 |
clt_comm = hz_client_tcp_communication.ClientTcpCommunication() #Get locale = clt_comm.ReqSendDataSpeechLocaleId #Set clt_comm.ReqSendDataSpeechLocaleId = 0x0409 #English(U.S.) |