Skip to content

Commit 53870d0

Browse files
committed
frist release
1 parent cc7dd92 commit 53870d0

File tree

3 files changed

+24
-10
lines changed

3 files changed

+24
-10
lines changed

README.md

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,27 @@
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)

msc/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def __del__(self) -> None:
210210
MSPLogout()
211211

212212

213-
__version__ = "0.2.0"
213+
__version__ = "0.1.0"
214214

215215
__all__ = [
216216
__version__,

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
setup(
55
name='msc',
6-
version='0.2.0',
6+
version='0.1.0',
77
description='A package for IFLYTEK MSC.',
88
long_description=open('README.md', encoding='UTF-8').read(),
99
long_description_content_type='text/markdown',

0 commit comments

Comments
 (0)