Questions tagged [sapi]

SAPI is Microsoft's Speech API which provides text-to-speech (TTS) and speech recognition (SR) functionality to applications.

434 questions
8
votes
3 answers

Memory leak in .Net Speech.Synthesizer?

I found a continuous leakage in my application. After examining using a memory profiler, I found the course is some object from Microsoft Speech.Synthesizer So I build up a toy project to verify the hypothesis: //Toy example to show memory leak in …
JXITC
  • 1,110
  • 1
  • 13
  • 27
7
votes
3 answers

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

I need to turn a text into speech and then save it as wav file.
Tarik
  • 79,711
  • 83
  • 236
  • 349
7
votes
1 answer

Microsoft Speech Recognition Speed

I am working on a small practice app using Microsoft's speech recognizer. I cannot seem to get it to recognize single words fast enough for what I am doing. I would like to be able to speak normally and the system will grab "keywords" from what I…
Josh R
  • 73
  • 3
6
votes
2 answers

How to change the voice used for SAPI.SPVoice

I would like to be able to select an alternative voice for my Text-To-Speech output. I am using the ComObject SAPI.SPVoice but I am finding that I cannot change the actual voice used. (BTW - I am using SAPI.SPVoice because it works in both…
hugmys0ul
  • 113
  • 1
  • 6
6
votes
3 answers

C++ Microsoft SAPI: How to set Windows text-to-speech output to a memory buffer?

I have been trying to figure out how to "speak" a text into a memory buffer using Windows SAPI 5.1 but so far no success, even though it seems it should be quite simple. There is an example of streaming the synthesized speech into a .wav file, but…
Vladimir
  • 117
  • 2
  • 8
6
votes
3 answers

System.Speech.Recognition Choosing Recognition Profile

Does anyone know how to change recognition profiles from within a .NET application? I am writing a .NET application that does speech recognition using the capabilities found in the System.Speech.Recognition namespace. The audio that I am feeding…
Mark Kanof
  • 1,426
  • 1
  • 11
  • 16
6
votes
1 answer

Difference between Sapi 5.4 and Microsoft Speech Platform SDK 11

Okey, I've ask the question in Windows Desktop Development Forums and I still got no answer. So I'll try here. What is the difference between Microsoft Sapi 5.4 and Microsoft Speech Platform SDK 11? Please specify the pros and cons if you know.
Marl
  • 1,492
  • 2
  • 22
  • 37
5
votes
1 answer

Text-to-speech using Phonics Sounds

How can I get the phonics sound by pushing any letter key? For example, I want to get the phonics sound of A by pushing the 'A' key. I'm using Microsoft SAPI v5.1. Can you point me in the right direction please?
user758475
  • 51
  • 3
5
votes
0 answers

Speech training files and registry locations

I have a speech project that requires acoustic training to be done in code. I a successfully able to create training files with transcripts and their associated registry entries under Windows 7 using SAPI. However, I am unable to determine if the…
giri
  • 101
  • 1
  • 3
5
votes
1 answer

Additional voices to a ASP.NET web app

I have a web application that uses SAPI to do TTS. I run it on Windows Server 2003 that has MS Sam installed by default. I understand that there are a number of 3rd party companies that sell voices. For a commercial application, which of these…
Nick
  • 7,475
  • 18
  • 77
  • 128
5
votes
1 answer

C++ MSAPI 5: SetNotifyCallbackFunction not working

So I've tried the MSAPI 5.4 TTS with event example. Now I create an cmd prompt app that utilize the SetNotifyCallbackFunction but the function that I've pass is not being called. I'm not an expert in C++ so I am having difficulty in solving this…
Marl
  • 1,492
  • 2
  • 22
  • 37
5
votes
1 answer

Speech Recognition in C# with SAPI 5.4 or MS Speech SDK v11 using a MemoryStream from Skype call

I'm trying to get SAPI 5.4 (also MS Speech Platform SDK v11) to perform continuous speech recognition on the audio coming in from a Skype call. I can use the SKYPE4COMLib to grab the audio coming in from Skype and push it over a TCP port by issuing…
timemirror
  • 586
  • 4
  • 11
5
votes
1 answer

SAPI with Dephi: Async speech doesn't work

The following works perfectly (Delphi 7): procedure TMainForm.SayIt(s:string); // s is the string to be spoken var voice: OLEVariant; begin memo1.setfocus; voice := CreateOLEObject ('SAPI.SpVoice'); voice.Voice :=…
BrunoBL
  • 51
  • 1
  • 3
4
votes
1 answer

Training sapi : Creating transcripted wav files and adding file paths to registry

We are trying to do acoustic training but we are unable to create the transcripted audio files, how to create it? Also we are using GetTranscript and Appendtranscript but we are unable to get the ISpTranscript interface for the ISpStream if we open…
Noobcoder
  • 41
  • 3
4
votes
2 answers

What are the full form of SAPI, PAPI and EAPI? What are the difference and when to use what?

I am front end developer and recently hearing these new terms (new to me). I searched Google for explanation but got more confused with multiple full forms. SAPI: System API/ Server API PAPI: Process API/ Performance API EAPI: Enterprise API/…
Souvik Banerjee
  • 187
  • 1
  • 3
  • 14
1
2
3
28 29