sapi

unintentional pitch change using MS SAPI TTS

Has anyone else experienced (and possibly solved) unintentional pitch changes using MS SAPI TTS voices? I'm using the SpVoice automation interface with SAPI 5.1. Right now, my application (VB6 app) can get into a state where the TTS (Microsoft Anna) starts to sound like a chipmunk (proper rate, but high pitch) and even a reboot of Vis...

Is there a SAPI module for PHP 5 for supporting the thttpd web server?

Hi, Is there a SAPI module for PHP 5 for supporting the thttpd web server? Oddly, the one included on PHP 5.2.6 source is for PHP 4.x. Thanks, Kenneth ...

PHP as a thttpd module vs CGI in terms of memory usage

I am planning to use php in an embedded environment. Our current web server is thttpd. I am considering two options now: whether to run it as a cgi or as SAPI module. I know cgi has advantage in terms of security. But if we are to use php as cgi, an instance of the php should be loaded into the memory for each request. I have tried comp...

Acoustic training using SAPI 5.3 Speech API

Using Microsoft's SAPI 5.3 Speech API on Vista, how do you programatically do acoustic model training of a RecoProfile? More concretely, if you have a text file, and an audio file of a user speaking that text, what sequence of SAPI calls would you make to train the user's profile using that text and audio? ...

System.Speech.Synthesis installing alternate language voices

The .net framework 3.5 (or vista) provides me with an English voice (David I think) to use with the Speech.Synthesis api. I need a french voice to use with a french dictation practice app I am building for my kids to use to improve their french spelling. The api allows me to change culture when creating a voice, but the default English v...

How to add words to an already loaded grammar using System.Speech and SAPI 5.3

Given the following code, Choices choices = new Choices(); choices.Add(new GrammarBuilder(new SemanticResultValue("product", "<product/>"))); GrammarBuilder builder = new GrammarBuilder(); builder.Append(new SemanticResultKey("options", choices.ToGrammarBuilder())); Grammar grammar = new Grammar(builder) { Name = Constants.GrammarName...

How to use text-to-speech using ActionScript or Air?

Hi folks, I want to use SAPI Text-To-Speech engine from my ActionScript or Air application. is this possible ? what are the other alternatives ? ...

Microsoft speech API 5.1, 5.3 ?

Hi, I'm a little confuse between the different SAPI version available. First of all, I only find the SDK to develop with the 5.1 version, is there any SDK for the 5.3 version available, if not, why ? Witch version can I use if I'm developing with the 3.5 version of the .Net framework. Is there any good tutorial because the only one I...

Acapela voice not detected in C#

Acapela voice not detected in C#? Does any one knows how to use those SAPI voices in C#? ...

what is the difference between SpVoice and SpeechSynthesizer

What is the difference between these two methods in C# using the speech API or SAPI? using SpeechLib; SpVoice speech = new SpVoice(); speech.Speak(text, SpeechVoiceSpeakFlags.SVSFlagsAsync); returns the Apacela voices, and SpeechSynthesizer ss = new SpeechSynthesizer(); ss.SpeakAsync ("Hello, world"); Does not work with Apacela voi...

How do I load a Grammar xml file that uses SAPI 5.3 tags?

My question is how can I load a grammar file that uses the tags they list in the MSDN docs? I want to use the format tags that are documented in MSDN under the heading Grammar Format Tags (SAPI 5.3). http://msdn.microsoft.com/en-us/library/ms723634(VS.85).aspx There it lists tags like DEFINE, LIST, OPT etc. However whenever I try to ...

C# and SAPI, I have speech recognition but its picking up words im not interested in. How can I limit, not just over weight, the gramer dict?

Whew, big title, but yea that sums up the question. Im working in C# with the Microsoft SAPI, using their speech Recognition in a program im working on. what i have it doing is. grammar = objRecoContext.CreateGrammar(0); menuRule = grammar.Rules.Add("typewrite", SpeechRuleAttributes.SRATopLevel | SpeechRule...

Microsoft Speech Recognizer 6.1 Training Files

I am developing a Speech Application in C#. The speech recognition stuff is working fine with SAPI 5.1 on Windows XP. But I now have Microsoft Speech Recognizer v 6.1 on my machine that came with Office 2003. No matter how much training I do, I see that the speech files (the .dat files under MSASR) are not getting updated ( at least from...

How to detect when SAPI TTS engine is busy

The SAPI engine can only render TTS from one application at a time (I have run a test with two instances of the Windows SDK TTSApplication sample to verify this). I am writing an application in which I need to detect whether the TTS engine is currently speaking (i.e. under control of a separate application, not mine). Does anyone know p...

where to get SAPI ?

Hello, Folks ! i want to create an application that is speech-enabled but whenever i get to MS website to download SAPI, i get an error. I want to know where I can get SAPI. and I also would like to know if a SAPI 5.3 application can work on Windows 2000, Windows XP and Windows Vista (if coded with C++/MFC). also, what is the best wa...

Microsoft Speech Recognizer 6.1

We have a Speech application written in C# which uses Microsoft Speech Recognizer 5.1. We are planning to use Recognizer 6.1 for better accuracy. I have few questions around this migration. Can I move my existing 5.1 profile to 6.1 without going through the training again? We see that the number of files generated by 6.1 are eithe...

SAPI SelectVoice(...) throwing ArgumentException

hey y'all, so I've got the user selecting from a list of "valid voices" for their speech synthesis. I'm pulling the list using GetInstalledVoices() and that results in around 5 or 6 voices including Microsoft Mike. However, should I select any voice besides Microsoft Anna I get an ArgumentExpection saying "Cannot set voice. No matching v...

How to save text-to-speech as a wav with Microsoft SAPI?

Hi, I think what I am about to want might be easy for you,so I decided to ask it to you, Fist I need to turn a text into speech and then save it as wav file. Could you help me ? Thanks. ...

Delphi and SAPI

does anyone have a resource from where I can learn to use SAPI from Delphi ? how to use Speech Recognition from Delphi Applications ? thanks. ...

Voice Recognition in C++

I'm looking for a way to implement trainable voice recognition in C++. I've found the SAPI 5.3 SDK which looks promising, but the only tutorials that I can find are for TTS which is the opposite of what I want. Can anyone recommend a good tutorial that covers everything I would need to get SAPI up and running? Either that or is the...