페이지 선택
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors
Search in pages
AT Commands For TTS

 

 

No Command Description
F2401 AT+CDTAM TTS play path, local or remote
F2402 AT+CTTS TTS operation, play or stop
F2403 AT+CTTSPARAM TTS parameters, set or get

 

 

 

 

 

 

F2401   AT+CDTAM     TTS play path, local or remote

 

T) AT+CDTAM=?

+CDTAM: (0-1)

OK

R) AT+CDTAM?

+ CDTAM: <status>

 OK

W) AT+CDTAM=<mode>

+CDTAM:

 OK

or

ERROR

 

<status>          

Indicate play path, play TTS to local or play to remote.

0 – Local path

1 – Remote path

<mode>

Set TTS play path, local or remote. Default value is 0.

0 – Local path

1 – Remote path

 
Example

AT+CDTAM=1

+CDTAM:

 OK

 

 

 

 

 

F2402   AT+CTTS     TTS operation, play or stop

 

T) AT+CTTS=? OK
R) AT+CTTS?

+CTTS: <status>

 OK

W) AT+CTTS=<mode>[,<text>]

If <mode>is 0 , then <text> is not required. When TTS is playing, return:

+CTTS:0 OK

 

If <mode>is 0,then <text> is not required. When TTS is not playing, return:

OK

 

If <mode>is 1 or 2,then <text> is must be required. return:

OK

+CTTS:0

or

ERROR

or

OK

 +CTTS:1

W) AT+CTTS =<mode>[,<text>][,
<filename>]

If <mode>is 3 or 4,then <text> and <filename> are must be required. return:

OK

+CTTS:0

or

ERROR

 

<status>

Indicate playing thread status. Default value is 0

0 – NO_WORKING

1  – PLAY_WAV_WORKING

2  – AMR_WORKING

3  – MP3_WORKING

4  – AAC_WORKING

5  – WAV_WORKING

6  – TTS_WORKING

8 – CREC_WORKING

<mode>

Stop or play TTS.

0 – Stop TTS

1 – <text> is in UCS2 coding format, Start to synth and play

2 –<text> is in ASCII coding format for English,Chinese text is in GBK coding format. Start to synth and play

3 – <text> is in ASCII coding format for English,Chinese text is in GBK coding format.

Start to synth and play, and save pcm data as wav file.

4 – <text> is in UCSII coding format . Start to synth and play, and save pcm data as wav file.

<filename> Location and filename for wav file

 

Example

AT+CTTS=1,”6B228FCE4F7F75288BED97F3540862107CFB7EDF”

OK

+CTTS:0

 AT+CTTS=3,”欢迎使用语音合成系统“,”E:/tts.wav”

OK

 +CTTS:0

 AT+CTTS=0

OK

 

 

 

 

 

F2403   AT+CTTSPARAM     TTS Parameters, set or get

 

T) AT+CTTSPARAM=?

+CTTSPARAM: (0-2), (0-3),(0-3),(0-2),(0-2)

 OK

R) AT+CTTSPARAM?

+CTTS: <volume>,<sysvolume>,<digitmode>,<pitch>,<speed>

 OK

W) AT+CTTSPARAM= <volume>[,<sysvolume>[,<digitmode

>[,<pitch>[,<speed>]]]

OK

or

ERROR

 

<volume>

TTS Speech Volume, default:2.

0 – The mix volume

1 – The normal volume

2 – The max volume

<sysvolume>

The module system volume, default:3.

0 – The mix system volume

1 – The small system volume

2 – The normal system volume

3 – The max system volume

<digitmode>

The digit read mode, default:0

0 – Auto read digit based on number rule first.

1 – Auto read digit bases on telegram rule first.

2 – Read digit based on telegram rule.

3 – Read digit based on number rule.

<pitch>

The voice tone, default:1

0 – The mix voice

1 – The normal voice tone.

2 – The max voice tone.

<speed>

The voice speed, default:1

0 – The mix speed

1 – The normal speed

2 – The max speed

 

Note.  <sysvolume>, It takes no effect to set <sysvolume>,reserved at present

 

Example

AT+CTTSPARAM=1,3,0,1,1

 OK

 

 

 

 

Adsense

 

 WiFi IoT Module

 

www.mxchip.com

 

 

 Bluetooth Module

www.feasycom.com

 

 

 5G/LTE/CAT-M1/NB-IoT

 

www.simcom.com

 

Viewed Page List