文件名称:MSP_Python
-
所属分类:
- 标签属性:
- 上传时间:2013-10-31
-
文件大小:670.32kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
讯飞云语音的Python实现
只是简单的用Python调用dll,自己用着觉得还不错,分享给大家。
双击test.bat就可以实现对wav_test.wav的识别,这个wav是sdk demmo中的123456789的那个。
其它语音文件的话,可以仿照test文件自己写一个。
双击test2.bat可以识别麦克风的输入。这个需要pyaudio的支持。
我是在win7的CMD下运行正常,但是xp的CMD可能会乱码~~~因为日志输出的是unicode编码的文字。
使用方法可以参看src里面的源码,需要注意的是:请把代码里appid=zzzzzzzz替换为自己的AppID
By wangqy(wangqyfm@foxmail.com)
2013-1-26-Python implementation of information Fei voice simply call in Python dll, they used feel pretty good, for everyone to share. Double test.bat wav_test.wav can be achieved on the recognition that this is sdk demmo wav that the 123456789. Other audio files, then you can write a test file modeled. Double test2.bat microphone input can be identified. This requires pyaudio support. I was in the CMD win7 run properly, but the xp CMD may be garbled ~ ~ ~ Because log output is unicode encoded text. Using methods can be found in src inside source, the need to note that: Please code appid = zzzzzzzz replace with your own AppID By wangqy (wangqyfm@foxmail.com) 2013-1-26
只是简单的用Python调用dll,自己用着觉得还不错,分享给大家。
双击test.bat就可以实现对wav_test.wav的识别,这个wav是sdk demmo中的123456789的那个。
其它语音文件的话,可以仿照test文件自己写一个。
双击test2.bat可以识别麦克风的输入。这个需要pyaudio的支持。
我是在win7的CMD下运行正常,但是xp的CMD可能会乱码~~~因为日志输出的是unicode编码的文字。
使用方法可以参看src里面的源码,需要注意的是:请把代码里appid=zzzzzzzz替换为自己的AppID
By wangqy(wangqyfm@foxmail.com)
2013-1-26-Python implementation of information Fei voice simply call in Python dll, they used feel pretty good, for everyone to share. Double test.bat wav_test.wav can be achieved on the recognition that this is sdk demmo wav that the 123456789. Other audio files, then you can write a test file modeled. Double test2.bat microphone input can be identified. This requires pyaudio support. I was in the CMD win7 run properly, but the xp CMD may be garbled ~ ~ ~ Because log output is unicode encoded text. Using methods can be found in src inside source, the need to note that: Please code appid = zzzzzzzz replace with your own AppID By wangqy (wangqyfm@foxmail.com) 2013-1-26
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gpsvc.dll
msc.cfg
msc.dll
msc_test.pyc
msc_wrapper.pyc
README.txt
speex.dll
src/
src/msc_test.py
src/msc_wrapper.py
test.bat
test2.bat
wav_test.wav
msc.cfg
msc.dll
msc_test.pyc
msc_wrapper.pyc
README.txt
speex.dll
src/
src/msc_test.py
src/msc_wrapper.py
test.bat
test2.bat
wav_test.wav
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.