11# iFLYTEK-MSC-Python-SDK
2- A third-party Python SDK for a iFLYTEK MSC. Using for ASR, TSS, KWS.
2+ ## Introduction
33
4- # Quick Start
4+ * A third-party Python SDK for a iFLYTEK MSC. Using for ASR, TSS, KWS.
5+
6+ ## Quick Start
57* Install MSC SDK
68
79 ``` bash
810 $ pip install git+https://github.com/jm12138/iFLYTEK-MSC-Python-SDK
911 ```
1012
11- * Config Environ
13+ * Download MSC SDK
14+
15+ * [SDK Download](https://www.xfyun.cn/sdk/dispatcher)
16+
17+ * Voice Wakeup (KWS) using Mic Input
1218
1319 ` ` ` python
1420 import os
1521
1622 # Set MSC SDK DLL/SO File Path
1723 os.environ[' MSC_SDK_PATH' ] = ' '
18- ` ` `
1924
20- * Voice Wakeup (KWS) using Mic Input
21-
22- ` ` ` python
2325 import msc
2426 import pyaudio
2527 from ctypes import string_at, c_void_p
@@ -143,6 +145,11 @@ A third-party Python SDK for a iFLYTEK MSC. Using for ASR, TSS, KWS.
143145* Speech Recognizer (ASR) using Mic Input
144146
145147 ` ` ` python
148+ import os
149+
150+ # Set MSC SDK DLL/SO File Path
151+ os.environ[' MSC_SDK_PATH' ] = ' '
152+
146153 import msc
147154 import pyaudio
148155
@@ -176,6 +183,11 @@ A third-party Python SDK for a iFLYTEK MSC. Using for ASR, TSS, KWS.
176183* Speech Synthesizer (TTS)
177184
178185 ` ` ` python
186+ import os
187+
188+ # Set MSC SDK DLL/SO File Path
189+ os.environ[' MSC_SDK_PATH' ] = ' '
190+
179191 import msc
180192 import pyaudio
181193
@@ -200,4 +212,6 @@ A third-party Python SDK for a iFLYTEK MSC. Using for ASR, TSS, KWS.
200212 output_stream.write(item)
201213 ` ` `
202214
203- * [Offical Documents](https://www.xfyun.cn/doc/mscapi/Windows& Linux/wlapi.html)
215+ # # Documentation
216+
217+ * [Offical Documents](https://www.xfyun.cn/doc/mscapi/Windows& Linux/wlapi.html)
0 commit comments