logo资料库

SIM82XX_SIM83XX Series_TTS_Application Note_V1.01.pdf

第1页 / 共9页
第2页 / 共9页
第3页 / 共9页
第4页 / 共9页
第5页 / 共9页
第6页 / 共9页
第7页 / 共9页
第8页 / 共9页
资料共9页,剩余部分请下载后查看
About Document
Version History
Scope
Contents
1Introduction
1.1Purpose of the document
1.2Related documents
1.3Conventions and abbreviations
2TTS Introduction
2.1Characteristic
2.2The process of Using TTS AT Commands
3AT Commands for TTS
4TTS Examples
4.1Set Local or Remote audio play
4.2Play synthetic speech with UCS2 text
4.3Play synthetic speech with GBK text
4.4Stop the synthetic speech
4.5Set the speech parameters
4.6TTS to wav format
SIM82XX_SIM83XX Series _TTS_Application Note 5G Module SIMCom Wireless Solutions Limited SIMCom Headquarters Building, Building 3, No. 289 Linhong Road, Changning District, Shanghai P.R. China Tel: 86-21-31575100 support@simcom.com www.simcom.com
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 SIM82XX_SIM83XX Series_TTS_Application Note 1.01 2021.11.25 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 SIMCom Headquarters Building, Building 3, No. 289 Linhong 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 © 2021 SIMCom Wireless Solutions Limited All Rights Reserved. www.simcom.com 1 / 9
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 About Document Version History Version V1.00 V1.01 Date 2020.8.17 2020.11.25 Author You Zhu Shuai.Wang What is new First Release Update the format Scope This document applies to the SIMCom SIM820X series, SIM821X series, SIM826X series and SIM83XX series. www.simcom.com 2 / 9
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 Contents About Document............................................................................................................ 2 Version History.........................................................................................................................................................2 Scope........................................................................................................................................................................ 2 Contents........................................................................................................................... 3 1 Introduction............................................................................................................... 4 Purpose of the document...........................................................................................................................4 Related documents.....................................................................................................................................4 Conventions and abbreviations................................................................................................................ 4 1.1 1.2 1.3 2 TTS Introduction...................................................................................................... 5 Characteristic...............................................................................................................................................5 The process of Using TTS AT Commands............................................................................................. 5 2.1 2.2 3 AT Commands for TTS........................................................................................... 6 4 TTS Examples...........................................................................................................7 Set Local or Remote audio play............................................................................................................... 7 Play synthetic speech with UCS2 text.....................................................................................................7 Play synthetic speech with GBK text....................................................................................................... 7 Stop the synthetic speech......................................................................................................................... 8 Set the speech parameters....................................................................................................................... 8 TTS to wav format.......................................................................................................................................8 4.1 4.2 4.3 4.4 4.5 4.6 www.simcom.com 3 / 9
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 1 Introduction 1.1 Purpose of the document Based on module AT command manual, this document will introduce TTS application process. Developers could understand and develop application quickly and efficiently based on this document. 1.2 Related documents [1] SIM82XX_SIM83XX Series_AT Command Manual 1.3 Conventions and abbreviations www.simcom.com 4 / 9
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 2 TTS Introduction TTS (Text To Speech) is one of the applications of speech synthesis. TTS can translate text to sound, automatic recognition of Chinese and English, support Chinese and English mixed reading. 2.1 Characteristic TTS, when you input a string of a text, engineer can translate it to sound. The encoding methods supported are ASCII, UCS2 and GBK. 2.2 The process of Using TTS AT Commands Step 1: Ensure TTS function is available. Step 2: Set play path by AT+CDTAM, if necessary, default is play to local. Step 3: Set play parameters by AT+CTTSPARAM, if necessary, default parameters are set when power on. Step 4: Use AT+CTTS to play TTS. www.simcom.com 5 / 9
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 3 AT Commands for TTS Command AT+CDTAM AT+CTTSPARAM AT+CTTS Description TTS play path, local or remote TTS Parameters, set or get TTS operation, play or stop www.simcom.com 6 / 9
SIM82XX_SIM83XX Series_TTS_Application Note_V1.01 4 TTS Examples 4.1 Set Local or Remote audio play //Example of set play path AT+CDTAM=1 +CDTAM: OK AT+CDTAM=0 +CDTAM: OK //Set remote path // Set local path 4.2 Play synthetic speech with UCS2 text //Example of TTS play with UCS2 AT+CTTS=1,"6B228FCE4F7F75288BED97F354 0862107CFB7EDF" OK +CTTS:0 //text UCS2 coding format. //Speech synthetic successful, play with the current channel. the tts voice will //Speech played over. User needs to wait response to play the next speech! this 4.3 Play synthetic speech with GBK text // Example of TTS play with normal text AT+CTTS=2,"hello,欢迎使用语音合成系统" OK www.simcom.com //English is ASCII coding format, Chinese is GBK coding format. //Speech synthetic successful, the tts voice will 7 / 9
分享到:
收藏