A76XX Series Audio Application Note V1.01
A76XX Series Audio Application Note V1.01
_Application Note
LTE Module
GENERAL NOTES
COPYRIGHT
www.simcom.com 1 / 15
A76XX Series_Audio_Application Note_V1.01
About Document
Version History
Scope
This document presents the AT Command Set for SIMCom A76XX Series, including A76XXXX-XXXX,
A5360E, sand A7670X.
www.simcom.com 2 / 15
A76XX Series_Audio_Application Note_V1.01
Contents
About Document.................................................................................................................................. 2
Version History.........................................................................................................................................................2
Scope........................................................................................................................................................................ 2
Contents................................................................................................................................................. 3
1 Introduction........................................................................................................................................4
1.1 Purpose of the document................................................................................................................................ 4
1.2 Related documents.......................................................................................................................................... 4
1.3 Conventions and abbreviations......................................................................................................................4
1.4 The process of Using Audio AT Commands................................................................................................ 4
The process of TTS function......................................................................................................... 5
The process of audio file playback function............................................................................... 5
The process of record function..................................................................................................... 6
1.5 Error Handling................................................................................................................................................... 7
Executing Audio AT Commands Fails..........................................................................................7
3 Audio Examples................................................................................................................................ 9
3.1 TTS Function..................................................................................................................................................... 9
Set TTS parameters....................................................................................................................... 9
Playing UCS2 text or ASCII text................................................................................................... 9
Playing UCS2 text or ASCII text and saving to WAV file....................................................... 10
TS remote playback..................................................................................................................... 10
Playing UCS2 text or ASCII text and saving to WAV file....................................................... 10
3.2 Audio Function................................................................................................................................................ 11
Play AMR file and WAV file..........................................................................................................11
Play audio file to the remote........................................................................................................11
Stop audio file playback...............................................................................................................12
3.3 Record Function............................................................................................................................................. 12
Local recording..............................................................................................................................12
Remote recording......................................................................................................................... 12
Stop recording............................................................................................................................... 13
4 Appendix...........................................................................................................................................14
4.1 Summary of Error Codes.............................................................................................................................. 14
www.simcom.com 3 / 15
A76XX Series_Audio_Application Note_V1.01
1 Introduction
Based on module AT command manual, this document will introduce Audio application process.
Developers could understand and develop application quickly and efficiently based on this document.This
document gives the usage of A76XX TTS functions , Audio file playback functions and record functions.
User can get useful information about these functions quickly through this document.
The functions are provided in AT command format, and they are designed for customers to design their
audio applications easily. User can access these Audio AT commands through UART/ USB interface which
communicates with A76XX module. Now Chinese and English languages can be supported in TTS
funciotns. And Audio file playback support to play WAV and AMR files. On the other hand, the record file
are saved as WAV files.
www.simcom.com 4 / 15
A76XX Series_Audio_Application Note_V1.01
www.simcom.com 5 / 15
A76XX Series_Audio_Application Note_V1.01
www.simcom.com 6 / 15
A76XX Series_Audio_Application Note_V1.01
When executing Audio AT commands, if ERROR response is received from the module, please check
whether the version is supporting it when executing.
www.simcom.com 7 / 15
A76XX Series_Audio_Application Note_V1.01
Command Description
AT+CTTS TTS operation
AT+CTTSPARAM Set TTS parameters
AT+CDTAM Set local or remote audio play
AT+CCMXPLAY Play an audio file
AT+CCMXSTOP Stop playing audio file
AT+CREC Record WAV audio file
www.simcom.com 8 / 15
A76XX Series_Audio_Application Note_V1.01
3 Audio Examples
OK
AT+CTTSPARAM=1,3,0,1,1 //set
OK parameters(volume,sysvolume,digitmode,pitch,sp
eed)
AT+CTTSPARAM? //read TTS parameters
+CTTSPARAM:1,3,0,1,1
OK
OK
+CTTS: 0
AT+CTTS=2,”1234567890” //synth and play ASCII text
+CTTS:
OK
+CTTS: 0 //playing end
www.simcom.com 9 / 15
A76XX Series_Audio_Application Note_V1.01
OK
+CTTS: 0 //playing end
AT+CTTS=3,”123456789012345678”,”D:/123” //synth and play UCS2 text,save to “D:/123.wav”
+CTTS:
OK
+CTTS: 0 //playing end
TS remote playback
OK
+CTTS: 0 //playing end
OK
www.simcom.com 10 / 15
A76XX Series_Audio_Application Note_V1.01
OK
OK
AT+CCMXPLAY="C:/3034.amr",0,3 //play “C:/3034.amr” and repeat 3 times
+CCMXPLAY:
OK
+AUDIOSTATE: audio play //start playback
OK
+AUDIOSTATE: audio play //start playback
www.simcom.com 11 / 15
A76XX Series_Audio_Application Note_V1.01
OK
+AUDIOSTATE: audio play //start playback
OK
+AUDIOSTATE: audio play //start playback
AT+CCMXSTOP //stop file playback
+CCMXSTOP:
OK
+AUDIOSTATE: audio play stop
Local recording
//Example of recording
AT+CREC=1,”C:/recording.wav” //start recording and save to “C:/recording.wav”
+CREC: 1
OK
+CREC: file full //recording time is about 40s and recording end
Remote recording
//Example of recording
ATD199XXXXXXXX; //start call and stay on call
OK
www.simcom.com 12 / 15
A76XX Series_Audio_Application Note_V1.01
OK
+CREC: file full //recording time is about 80s and recording end
Stop recording
//Example of recording
AT+CREC=1,”C:/recording.wav” //start recording and save to “C:/recording.wav”
+CREC: 1
OK
AT+CREC=0 //stop recording
+CREC: 0
OK
www.simcom.com 13 / 15
A76XX Series_Audio_Application Note_V1.01
4 Appendix
www.simcom.com 14 / 15