Hello everyone,
If you are building a project that involves speech recognition or speech synthesis, this walkthrough is for you. The approach here is straightforward to set up for speech-based projects. Keep in mind that both speech recognition and synthesis are still evolving fields, and there is no perfect, ready-made tool available. Below I share one way to get started. It is not highly accurate, but with proper training the error rate can be lowered. The required tools are listed below, and the working platform is Windows XP.
If you are building a project that involves speech recognition or speech synthesis, this walkthrough is for you. The approach here is straightforward to set up for speech-based projects. Keep in mind that both speech recognition and synthesis are still evolving fields, and there is no perfect, ready-made tool available. Below I share one way to get started. It is not highly accurate, but with proper training the error rate can be lowered. The required tools are listed below, and the working platform is Windows XP.
1)Python 2.6 for Windows
2)Windows Speech SDK
3)Python Speech Module
4)Good Speech Voices
http://cepstral.com/downloads/(Not free)
Those are the pieces we need. Before starting, test your microphone to confirm it is working, and check the speakers as well.
1) Install the voices first, or simply use the default Windows voice (MS Sam)
2) Install the Speech SDK: after installing it, you need to train the speech profile to get good accuracy. The training option is available in the Control Panel. Training profiles can be exported and imported, so you can train on one machine and move to another without retraining. The import/export tool is listed below.
Profile Manager:
3) Install Python 2.6
4) Install the speech module: the command for installing it is shown here
Open a command prompt and change the path to the speech module folder
Then enter this command
python setup.py install
5) Installation complete
Testing speech-to-text and text-to-speech in Python
import speech
while True:
phrase = speech.input() #Convert Speech to text
speech.say("You said %s" % phrase) #Convert the converted text to Speech
if phrase == "turn off": #if the text is turn off ,it will quit
break
For more details, refer to the link below






2 comments:
mang trước mặt hắn.
Hồng mang của tiểu cô nương sau khi chạm vào Hạo Thiên Tháp thì hồng mang nhanh chóng hư nhược, thần sắc của tiểu cô nương cũng trở nên ngưng trọng.
- Hừ, không cho ta, ta phải đoạt.
Sắc mặt của tiểu cô nương biên đổi, sau đó đã đánh về phía Nhạc Thành.
- Xoẹt xoẹt xoẹt.
Lúc này Bàn Thiên Lão Ma, Kim Lão Quái năm người công kích về phía tiểu cô nương, thủ ấdongtam
mu private
tim phong tro
http://nhatroso.com/
nhac san cuc manh
tổng đài tư vấn luật
http://dichvu.tuvanphapluattructuyen.com/
văn phòng luật
tổng đài tư vấn luật
dịch vụ thành lập công ty
http://we-cooking.com/
chém gió
trung tâm ngoại ngữn của bọn họ tứ phương tám hướng tiến tới.
Một mảng hào quang bao bọc lại bên trong, đám người Bàn Thiên Lão Ma giống như đã dốc toàn lực.
- Hừ, năm người các ngươi thật đáng ghét, tránh ra cho ta.
Tiểu cô nương nhìn hào quang trên bầu trời một
These are the things we need .Before we start ,check the mic and confirm if it working or not .Check the speakers also . best virtual assistant
Post a Comment