Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
 
  HOME    TRACKER    Visual Basic




Sapi 5.1 Voices


i've just downloaded the SAPI 5.1 SDK and i found out the it includes 4 voices; mary, mike, sam, and sample TTS. the first 3 voices is not that clear, only the sample TTS is clear but it looks like it can only speak limited words. can i use other voices aside from the four? and why sample TTS is just as sample? ;-) if other voices are possible, how can i use them. tnx.




View Complete Forum Thread with Replies

See Related Forum Messages: Follow the Links Below to View Complete Thread
VOICES In SAPI 5.1 SDK
voices in SAPI 5.1 includes mary, mike, sam and sample TTS. i've downloaded and installed the LH British English TTS but it won't appear on the list of installed voices. Why?

TTS Voices
When you're using the MS Text-to-Speech Control (MS Voice Text Control in VB), How do you change voices?

Get A List Of Different Voices For TTS
anyone, pls teach me how to get a list of available voices for a text-to-speech engine (eg. British English) and how to select them and use them.

thanx

it's urgent!

thanx!

Speech Voices
Hello, I was wondering if there are any shareware or freeware voices for text-to-speech that actually sound real? I know AT&T has one...but it costs money.

Text-to-Speech Voices
How do I get more voices for the Microsoft Text-to-Speech control? I know I am suppose to change the .Select property to different index numbers to use different voices but when I do, it doesn't say anything like they are not there. I only have one voice on it. I need to figure this out soon for my AI project in psychology class. Thanks.

Voice's I Hear Voices...
Looking for a neat snippit of code (or nice free ocx file) where it will let me turn text into voice.

Microsoft Voices On Differnet Machines
i made a program that is a regular TTS (text to speach) and i have it set so you can choose like Microsoft Mary/Mike/Sam as the voice.. and it works fine on the machine i made it on.. but when i put it on my laptop which also has XP and visual studios ... it only has the voice of Microsoft Mike, the same thing when i sent it to my friend.. do i need to add another file along with it or what.. heres the code:

Option Explicit
Dim WithEvents Voice As SpVoice


Private Sub About_Click()
MsgBox "This is still Beta -- |)0m3nu|) --", vbInformation, "About"
End Sub

Private Sub Exit_Click()
End
End Sub

Private Sub Form_Load()
Set Voice = New SpVoice

Dim Token As ISpeechObjectToken

For Each Token In Voice.GetVoices
voicebox.AddItem (Token.GetDescription())
Next
voicebox.ListIndex = 0
Form1.Show
Voice.Speak "Welcome to dome nuds text to speach program"
End Sub

Private Sub command1_click()
Voice.Speak Text1
End Sub

Private Sub ratesldr_scroll()
Voice.Rate = ratesldr.Value
End Sub

Private Sub voicebox_Click()
Set Voice.Voice = Voice.GetVoices().Item(voicebox.ListIndex)
End Sub

Private Sub volumesldr_Scroll()
Voice.Volume = volumesldr.Value
End Sub


Thanks

Sapi
Hi,

Do you guys know of any resource which disscusses the more theoritical aspects of SAPI in plain english. I wish to find out how to create a custom SR engine for a local language. If you can help, it will be appreciated. It should be SAPI 5 of course.

Anyone Tried SAPI?
anyone tried SAPI?
if so please comment on how good n accurate it is
thank you

Anyone Tried SAPI?
anyone tried SAPI?
if so please comment on how good n accurate it is
thank you

SAPI How To (I Am New)
Hi
Hi
I design a grammar file and on some test I observed that in hypothesis event it gets exact word but on disply it shows an other word.
also I can not see any demo or good example for alternate method can u plz tell me what is use of this and how.
how to deal with this case
when user say now write my recognization engine starts but when user say now read it start reading but in middle or any time if user say agin now write engine starts writting.
plz give some time for this

thanks

SAPI In VB
hi

may i ask about the SAPI in VB?I still fresh about SAPI, so, does anyone can send me a helping hand?your help is appreciated..

may i ask that in using SAPI for speech-to-text, is it need to collect voice sample?is it using software such as goldwave to collect the voice sample?

if the input for the voice is in fail ( because i collect voice from client and send it by using winsock, so, the input to server will be in fail form, in server, voice recognition will be undertaken) so, what is the API should be used to enable the voice in fail to be recognized in server?

i hope somebody will consult me because i really fresh about SAPI..thx in advance

SAPI SDK
Dear Sir,

I am presently on the look out for sapi sdk sample code.I have checked Msdn Online Library ,but there were no sample code pertaining to it .

Please suggest .

A quick reply would be highly appreciated .

Thank You .

Innstall Sapi 5.1
I downloaded the sdk distributable file: speechsdk51msm.exe

when it extracts itself all it does is extract 15 ".msm" files where to I set the destination for these files using inno setup?

SAPI-SDK 5.1 AND MS Agents
I want to take hold of a MS Agent and give him voice commands. i know i need SDK 5.1 installed (already did that) and i have the MS Agent up and running. i tried to code some of my commands in, but the character is not responding. (yes the mic is one). this is what i have so far


Private Sub Form_Load()
Agent1.Characters.Load "character1", "genie.acs"
Set character = Agent1.Characters("character1")
character.SRModeID = '*****

character.Commands.Add "ReadMsg", "&Read Message", "yes"

For Each animation In character.AnimationNames
lstAnimaNames.AddItem animation
Next
character.Show

End Sub


'***** that indicates i need to list a speech engine driver. how i dont know how to do that. is there any type of documents/tutorials i can read about this or can any offer a quick help? with out the speech part of the program, it works fine. this is the only part im having trouble with.

SAPI Tutorials?
I just downloaded and installed MS Speech API 5.1 (Speech SDK to be more specific). There were tutorials included but they were written for C++ only. There were also sample programs for VB but I prefer tutorials. So are there any SAPI tutorials for VB?

SAPI/TAPI
Im making a program to make calls and send a message in wave format.

how can i know when people pick the phone, and how do i send the message?

Cannot Install SAPI?
I have been having trouble trying to install SAPI (a text to speech dll created by microsoft). I have windows xp and for some reason it is not on my computer. I have installed the SDK, and also a couple of programs which are supposed to install SAPI 5.1, and I still cannot reference it in my project or if I try to open program which use the SAPI technology It says active x component cannot create reference. Right now I am using the Direct SS component for txt to speech but I want the text to record straight into a .wav file which im positive the later versions of sapi can do. If anyone knows the problem.. please hellp

Tapi/sapi
any one can help me on TAPI and SAPI

i want to make a answering machine app. i need a good example for it.

thanx

Voice SAPI
Im totally new to VB. The following code works on Windows XP but not on Windows 2000. I'm thinkng windows 2000 has some outdated version of VB or Voice SAPI. I searched around MSDN but I didn't really find anything about what OS has what version.

All I am trying to do is to make a script say something. Does anyone know the corresponding VB code that would work on Win 2000 or tell me what I need to install on Win 2000 to make the following work?

Set ISpeechVoice = CreateObject("SAPI.SpVoice")
varname = ISpeechVoice.Speak("Hello", 0)

SAPI 5 1 Will NOT Install
I am in a huge mess and need a lifesaver right now.

I've finished making my app in VB6 and I use SAPI 5.1 to get speech recognition. I have been unable to make a successful setup for the software which will install SAPI on the PCs.

I am using all the right MSMs. I've tried making the setup with Visual Studio Installer. The SAPI icons never appear in the control panel.

How can I get SAPI 5.1 top install correctly? Does anyone have any experience deploying SAPI? This is really-really urgent! All guidance will be appreciated.

How can I make a setup that correctly installs SAPI 5?

Thanks in anticipation

Cyril Gupta

MS SAPI 5 1 Uninstallation
Hello, I am trying to deploy Speech SDK 5.1 with my app. Installation is a big issue. I've managed to get all the merge modules right (I checked with a number of sources). The software still won't install on my test machine. I suspect this is because the older installation is messing with the new one.

i want to find out how to completely remove Speech SDK 5.1 from the machine for a clean install.

I've removed the registry entries in LOCAL MACHINE-->Microsoft-->Speech

I've deleted the Speech control panel file. I've deleted SAPI.DLL

What other files should I remove to get my PC to a fresh state so that I can attempt a clean install?

Please advise.

Help In SAPI 5 1 Grammar
Hi
I am doing a school project on SAPI where we want to test results like this.

We have a grammar file this.

<testWord>
<Word1> Dog </Word1>
<Word2> Cat </Word2>
</testWord>

now SPEI_RECOGNITION event recognise word Dog we can print Cat .
the data is about more then 10000 words in file.

second problem
If I train SAPI engine from my file where I put many words non english words then will it recognise them from grammar for my language words.
and how to train from file and tell engine that now get tune as trained. ?

third problem.
Many words looks same as write and right then how to get word which we want.
I got idea that SPEI_HYPOTHESIS event will return some values but hoe to use them.
I am trying to make it working for a non english language.
Please Pleease help me I am new to SAPI Please guide.


thanks

SAPI Problem
Hi Guru's

I m facing a problem so long. please help me
i m suing SAPI 5.1 in my application.
If i install my application first and then SAPI my application works fine.
but when i install sapi first and my application second its shows me an Automation Error. then ive to reinstall the sapi again.

one more thing is it necessary that my client must have sapi in his machine cant i send its dll with my setup so my application can use that dll and then no need to install sapi.

Please help me


Thanx in advance

SAPI (Speech API)
Is registering more than one TTS engines is possible in SAPI.?
Please help me

Imran Jami

TAPI, SAPI
I need to develope a Telephony-Voice software. Can some one tell me how I can find some litreture on such development. I need to do it in VB. I want to know how create such an applcation. I also need books related to this.

Urgent


Amendra

SAPI, TAPI
Can any body tell me how to use SAPI,TAPI. Can we get the speech into text with in the application using a fuction using SAPI. I need to build an application that would give me the words of a user speeking through into a mic or telephone.I need to process that text and take actions. egxamples are welcome
Also how do I use the OCX's given by the SAPI SDK.

Urgent

SAPI, TAPI
Can any body tell me how to use SAPI,TAPI. Can we get the speech into text with in the application using a fuction using SAPI. I need to build an application that would give me the words of a user speeking through into a mic or telephone.I need to process that text and take actions. egxamples are welcome

Urgent

SAPI, TAPI
Can any body tell me how to use SAPI,TAPI. Can we get the speech into text with in the application using a fuction using SAPI. I need to build an application that would give me the words of a user speeking through into a mic or telephone.

Urgent

SAPI 4.0 SDK App Setup
Okay, I'm writing a chat room application that uses SAPI 4.0 for speech settings. When i create a setup app for my program, i know to include spchapi.exe (from the redist folder in the sdk) but how to I include the actual voice engines? Do i just need to put a reference the the .vce files (voice engine files) in the setup wizard?

Voice Recognization With SAPI
Hii

I have downloaded SAPI and I want to use it to recognize speech.
Can anybody give me a sample to recognize speech. Or something else for speech to text operation thank you.

I have done text to speech by xcommand.oca file but I want to do opposite(sp to txt)

Please help any one.
Thank you.

SAPI (reading Speed)
hi guys,

a friend of mine is a stenographer and she has asked me if i can write a program for her whereby text inputted into a multiline textbox can be read back outloud. i have advised her that I can use SAPI to do this. however, she would like for the reading to be at different speeds. can this be done whereby the speed of the outloud readback can be changed depending on the speed she wants? please advise.

Adding SAPI SDK Components
Hello

I have downloaded and installed the microsoft SAPI SDK 5.1. But l can't find out where the controls are to add them to the list of components. I have tried going to the components dialog box in VB, then using the browse button to add them. I have looked in windows/system32, but cannot not find them. Does anyone know of how to solve this problem.

Many thanks in advance

Steve

Visual Basic And SAPI
Hi all!


Does anybody know how to input a wave file to train SAPI's recognizer, if possible?

Is it possible to just input the wave file without the user having to read the entire training texts?

SAPI With Visual Basic !!!
hi,

I need the program that can use SAPI.The application must use SAPI and must understand Turkish(one or two Turkish command).For example ; there is a listbox and thats listed in listbox...

desk
book
notepad
.....and someting else

When I said "select desk",desk must selected on listbox...
I don't know how can I do this,do you know any little app like this or give me some idea.How can I do?

SAPI: Can I Recognize Speech From WAV?
I'm completely new to SAPI, and have a very simple voice dictation control working on a sample form.

However, what I really want is to be able to take the input from a WAV file, rather than from a microphone.

I'm using the Microsoft VDict voice dictation control. So far, so easy:

Private Sub Form_Load()
Vdict1.Mode = 32
Vdict1.Activate
End Sub

Private Sub Vdict1_PhraseFinish(ByVal flags As Long, ByVal phrase As String)
Text1.Text = Text1.Text & " " & phrase
End Sub


However, I don't see any obvious method for telling Vdict to get its audio from a file rather than the microphone.

Please help! Many thanks!

j

Required SAPI Info
Hi All,
Can you help in creating app and dll which involves SAPI in VB.
Thanks in advance

pramod

SAPI Spvoice Status
Hi all

I am converting a text to .wav file using Sapi spvoice.speak event.
to find the status of spvoice whether it has finished speaking, i am checking spvoice.status.runningstate. but its giving 0 value. whereas SRSEDone = 1 and SRSEIsSpeaking is 2.
How can to find out the status, whether the sapi has finished converting text to speech (wav format)

Thank u in advance

Rema

Speaks In Spanish With VB 6 And SAPI 5.1
Hello, I am investigating commands of voice in visual BASIC 6 and SAPI 5.1
How I can cause that the PC speaks in Spanish?
What is the sentence or function?
Please if they have an example or documentation.
Thanks

SAPI & Visual Basic
Hi all!

Does anybody know how I can input a wave file into SAPI to train the recognizer? I am implementing this in VB.

Thanks!

Using VB 6 & SAPI 5 - Training Recognizer
Hi,

I'm doing a project on speech using SAPI5 and VB 6. I was wondering if it is possible to train the recognizer when I'm running the VB program. Can I use "IWordTrainEngine"? If so, how do I use it?

Please help!!

SAPI Speech Recognition
SAPI speech recognition ...?

SAPI 5.1 Voice Recording
I am using SAPI 5.1 for TTS and wants to add another feature - voice recording.
I want to know how to record voice and save to WAV file using the SAPI 5.1 SDK

/edit moved to VB general by johnminkjan edit/



Edited by - johnminkjan on 12/11/2004 11:50:01 AM

SAPI 5.0 Making Error
Hi folks

I am using SAPI 5.0 (Microsoft Speech ) in my application in VB6.0. I run my application its run smoothly. So i created its setup through the setup wizard. after creating setup i installed the application on the same machine.
When i run the installed application its showing me an error as :

Load Automation Error
Cant find the specified file.

So i run my source code to check the error but same error is coming here too.

I dont know whts happening here

Please advise.

Thanx

MS Sapi With Modal Dialog Boxes?
Hello all,
I wrote a small app to voice-automate my desktop using Speech api 5.1 - very simple - brings up Open dialog initially and user navigates to exes and enters in - then a shared speech recognition context object with a limited command and control grammar with phrases such as "Start <appname>" and "Quit <appname>" - starts an .exe with Shell(), then on "Quit..." uses EnumWindows, GetThreadID, etc. and closes app and all children windows by sending WM_CLOSE messages to each.

However, I noticed that when a modal dialog box such as "Save Changes?.." pops up in a word processor or something on closing, if I attempt to process a "Yes" or "No" command, the reco object enqueues the events, and doesn't process until user manually clicks on button.

Of course, alternatively I can send WM_DESTROY to suppress dialogs, but this seems to cause Access violations in Apps such as MSAccess when several Access windows are open at the same time. Any suggestions? Thanks much.

Kent-Eric

MS Sapi With Modal Dialog Boxes?
Hello all,
I wrote a small app to voice-automate my desktop using Speech api 5.1 - very simple - brings up Open dialog initially and user navigates to exes and enters in - then a shared speech recognition context object with a limited command and control grammar with phrases such as "Start <appname>" and "Quit <appname>" - starts an .exe with Shell(), then on "Quit..." uses EnumWindows, GetThreadID, etc. and closes app and all children windows by sending WM_CLOSE messages to each.

However, I noticed that when a modal dialog box such as "Save Changes?.." pops up in a word processor or something on closing, if I attempt to process a "Yes" or "No" command, the reco object enqueues the events, and doesn't process until user manually clicks on button.

Of course, alternatively I can send WM_DESTROY to suppress dialogs, but this seems to cause Access violations in Apps such as MSAccess when several Access windows are open at the same time. Any suggestions? Thanks much.

Kent-Eric

TAPI SAPI Test To Speech
I need VB code to receive incoming calls and to respond via Text to speech to the caller. Can anyone help on this ?

TAPI / SAPI - Dail, Text-speech
Hello All,

I was wondering if anyone has ever done any code that uses both TAPI for dailing a phone number, and SAPI for taking text in a file and speaking once the phone line was picked up?

Does anyone know of any tutoirals or example code? Can anyone point me in the right direction?

email: info@forgivable.net!
thanks!

Sapi 5 Add Words To Voice Recognition Dictionary
Hello, I am using the SAPI5.3 api in a sample vb app...the app has the following code:


Code:
'=============================================================================
' This sample demonstrates how to do simple dictation in VB with SAPI 5.1.
'
' It uses shared reco context object, uses the default audio input, loads in
' dictation grammar, sets up event handlers, and shows the recognized text in
' the dialog text box.
'
' Note: since the text box is using system locale, it may not correctly show
' characters in other languages. For example, if you use Chinese Speech
' Recognition engine as the default engine on your English OS, the text box
' may show garbage even though the engine recognizes Chinese.
'
' Copyright @ 2001 Microsoft Corporation All Rights Reserved.
'
'=============================================================================

Option Explicit

Dim WithEvents RecoContext As SpSharedRecoContext
Dim Grammar As ISpeechRecoGrammar
Dim Voice As SpVoice
Dim m_bRecoRunning As Boolean
Dim m_cChars As Integer


Private Sub Form_Load()
SetState False
m_cChars = 0
Set Voice = New SpVoice
Timer1.Enabled = True
End Sub

Private Sub btnStart_Click()
Debug.Assert Not m_bRecoRunning

' Initialize recognition context object and grammar object, then
' start dictation
If (RecoContext Is Nothing) Then
Debug.Print "Initializing SAPI reco context object..."
Set RecoContext = New SpSharedRecoContext
Set Grammar = RecoContext.CreateGrammar(1)
Grammar.DictationLoad
End If

Grammar.DictationSetState SGDSActive
SetState True
End Sub

Private Sub btnStop_Click()
Debug.Assert m_bRecoRunning
Grammar.DictationSetState SGDSInactive
SetState False
End Sub

' This function handles Recognition event from the reco context object.
' Recognition event is fired when the speech recognition engines recognizes
' a sequences of words.
Private Sub RecoContext_Recognition(ByVal StreamNumber As Long, _
ByVal StreamPosition As Variant, _
ByVal RecognitionType As SpeechRecognitionType, _
ByVal Result As ISpeechRecoResult _
)
Dim strText As String
strText = Result.PhraseInfo.GetText
Debug.Print "Recognition: " & strText & ", " & _
StreamNumber & ", " & StreamPosition

' Append the new text to the text box, and add a space at the end of the
' text so that it looks better
txtSpeech.SelStart = m_cChars
txtSpeech.SelText = strText & " "
m_cChars = m_cChars + 1 + Len(strText)

Debug.Assert m_bRecoRunning
Grammar.DictationSetState SGDSInactive
SetState False
Voice.Speak strText
txtSpeech.Text = ""

Debug.Print "Initializing SAPI reco context object..."
Set RecoContext = New SpSharedRecoContext
Set Grammar = RecoContext.CreateGrammar(1)
Grammar.DictationLoad
Grammar.DictationSetState SGDSActive
SetState True


End Sub

' This function handles the state of Start and Stop buttons according to
' whether dictation is running.
Private Sub SetState(ByVal bNewState As Boolean)
m_bRecoRunning = bNewState
btnStart.Enabled = Not m_bRecoRunning
btnStop.Enabled = m_bRecoRunning
End Sub



This program will add any text spoken to the textbox...my problem is some words are not recognized...is there a way to add these to a 'dictionary' like you can with ms words voice recognition?

Copyright 2005-08 www.BigResource.com, All rights reserved