logo资料库

A7600 Series_Audio_Application Note_V1.00.pdf

第1页 / 共15页
第2页 / 共15页
第3页 / 共15页
第4页 / 共15页
第5页 / 共15页
第6页 / 共15页
第7页 / 共15页
第8页 / 共15页
资料共15页,剩余部分请下载后查看
About Document
Version History
Scope
Contents
1 Introduction
1.1 Purpose of the document
1.2 Related documents
1.3 Conventions and abbreviations
1.4 The process of Using Audio AT Commands
1
1.1
1.2
1.3
1.4
1.4.1 The process of TTS function
1.4.2 The process of audio file playback function
1.4.3 The process of record function
1.5 Error Handling
1.5
1.5.1 Executing Audio AT Commands Fails
2 AT Commands for Audio
2
2.1 Overview of AT Commands for Audio
3 Audio Examples
3
3.1 TTS Function
2
3
3.1
3.1.1 Set TTS parameters
3.1.2 Playing UCS2 text or ASCII text
3.1.3 Playing UCS2 text or ASCII text and saving to WAV file
3.1.4 TS remote playback
3.1.5 Playing UCS2 text or ASCII text and saving to WAV file
3.2 Audio Function
3.2
3.2.1 Play AMR file and WAV file
3.2.2 Play audio file to the remote
3.2.3 Stop audio file playback
3.3 Record Function
3.3
3.3.1 Local recording
3.3.2 Remote recording
3.3.3 Stop recording
4 Appendix
4
4.1 Summary of Error Codes
A7600 Series_ Audio_Application Note LTE Module SIMCom Wireless Solutions Limited Building B, SIM Technology Building, No.633, Jinzhong Road Changning District, Shanghai P.R. China Tel: 86-21-31575100 support@simcom.com www.simcom.com
A7600 Series_Audio_Application Note_V1.00 A7600 Series_Audio_Application Note 1.00 2020.6.19 Released Document Title: Version: Date: Status: GENERAL NOTES SIMCOM OFFERS THIS INFORMATION AS A SERVICE TO ITS CUSTOMERS, TO SUPPORT APPLICATION AND ENGINEERING EFFORTS THAT USE THE PRODUCTS DESIGNED BY SIMCOM. THE INFORMATION PROVIDED IS BASED UPON REQUIREMENTS SPECIFICALLY PROVIDED TO SIMCOM BY THE CUSTOMERS. SIMCOM HAS NOT UNDERTAKEN ANY INDEPENDENT SEARCH FOR ADDITIONAL RELEVANT INFORMATION, INCLUDING ANY INFORMATION THAT MAY BE IN THE CUSTOMER’S POSSESSION. FURTHERMORE, SYSTEM VALIDATION OF THIS PRODUCT DESIGNED BY SIMCOM WITHIN A LARGER ELECTRONIC SYSTEM REMAINS THE RESPONSIBILITY OF THE CUSTOMER OR THE CUSTOMER’S SYSTEM INTEGRATOR. ALL SPECIFICATIONS SUPPLIED HEREIN ARE SUBJECT TO CHANGE. COPYRIGHT THIS DOCUMENT CONTAINS PROPRIETARY TECHNICAL INFORMATION WHICH IS THE PROPERTY OF SIMCOM WIRELESS SOLUTIONS LIMITED COPYING, TO OTHERS AND USING THIS DOCUMENT, ARE FORBIDDEN WITHOUT EXPRESS AUTHORITY BY SIMCOM. OFFENDERS ARE LIABLE TO THE PAYMENT OF INDEMNIFICATIONS. ALL RIGHTS RESERVED BY SIMCOM IN THE PROPRIETARY TECHNICAL INFORMATION ,INCLUDING BUT NOT LIMITED TO REGISTRATION GRANTING OF A PATENT , A UTILITY MODEL OR DESIGN. ALL SPECIFICATION SUPPLIED HEREIN ARE SUBJECT TO CHANGE WITHOUT NOTICE AT ANY TIME. SIMCom Wireless Solutions Limited Building B, SIM Technology Building, No.633 Jinzhong Road, Changning District, Shanghai P.R. China Tel: +86 21 31575100 Email: simcom@simcom.com For more information, please visit: https://www.simcom.com/download/list-863-en.html For technical support, or to report documentation errors, please visit: https://www.simcom.com/ask/ or email to: support@simcom.com Copyright © 2020 SIMCom Wireless Solutions Limited All Rights Reserved. www.simcom.com 1 / 15
A7600 Series_Audio_Application Note_V1.00 About Document Version History Date 2020.06.19 Chapter Description New version Revision V1.00 Scope This document presents the AT Command Set for SIMCom A7600 Series, including A7600XX-XXXX, A5360E, sand A7670X. www.simcom.com 2 / 15
A7600 Series_Audio_Application Note_V1.00 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 2 AT Commands for Audio .................................................................................................... 8 2.1 Overview of AT Commands for Audio .............................................................................................. 8 1.4.1 1.4.2 1.4.3 1.5.1 3.1.1 3.1.2 3.1.3 3.1.4 3.1.5 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 3.2.1 3.2.2 3.2.3 3.3.1 3.3.2 3.3.3 www.simcom.com 3 / 15
A7600 Series_Audio_Application Note_V1.00 1 Introduction 1.1 Purpose of the document 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 A7600 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 A7600 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. 1.2 Related documents [1] A7600 Series_AT Command Manual 1.3 Conventions and abbreviations In this document, the GSM engines are referred to as following term: AMR (Adaptive Multi-Rate); TTS (Text to Speech); 1.4 The process of Using Audio AT Commands www.simcom.com 4 / 15
1.4.1 The process of TTS function A7600 Series_Audio_Application Note_V1.00 Power on the module AT+CTTSPARAM=1,3,0,1,1 (set TTS parameters) Save wav file with 3td to show path and filename , do not save with just tow parameters. TTS data write file or not Y Mode 1 means UCS2 text, mode 2 means ASCII text. AT+CTTS=1,”6B228FCE4F7F” (play UCS2 text) AT+CTTS=1,”6B228FCE4F7F”,”C :/123” (play UCS2 text and save to C:/123.wav) N Stop actively by AT+CTTS=0 AT+CTTS=0 (stop TTS playing) URC:”+CTTS: 0” (TTS play end) 1.4.2 The process of audio file playback function www.simcom.com 5 / 15
A7600 Series_Audio_Application Note_V1.00 Power on the module Audio file playback function Support file type : AMR,WAV; Support file storage :C:(file system),D:(SD card).2th paramter is playing mode(0:local 1:remote). Last parameter is the number of cycles. AT+CCMXPLAY=”C:/ 3034.amr”,0,1(play AMR file) Stop actively by AT+CCMXPLAY AT+CCMXSTOP (stop audio file playing) URC:”+AUDIOSTATE: audio play stop” (audio file play end) 1.4.3 The process of record function www.simcom.com 6 / 15
A7600 Series_Audio_Application Note_V1.00 Power on the module Record function 1st paramter is playing mode(1:local 2:remote). Support file storage :C:/recording.wav(file system),D:/recording.wav(SD card). AT+CREC=1,”C:/ recording.wav” (record to C:/recording.wav ) Stop actively by AT+CREC=0 AT+CREC=0 (stop recording function) URC:”+CREC: file full” (audio file play end) (audio file play end) 1.5 Error Handling 1.5.1 Executing Audio AT Commands Fails 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
分享到:
收藏