Questions tagged [sapi]

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

434 questions
4
votes
1 answer

SAPI 5.3 speech to Text

I am looking for a basic example for Speech to Text using the SAPI 5.3 on VC++. Can you please provide with a sample program?
Kishore Thota
  • 87
  • 1
  • 6
4
votes
1 answer

WasapiLoopbackCapture internal audio recognition gives jibberish and text when no audio

I finally have built a program to listen to the internal audio loopback using NAudio, and output recognized text. The problem is it listens, and always says, eg: Recognized text: had Recognized text: had Recognized text: had Recognized text:…
NoBugs
  • 9,310
  • 13
  • 80
  • 146
4
votes
1 answer

How to create a custom sapi voice for tts

I am working on a project which I need to create a custom voice engine for my application. I have seen something like the TTS Builder, but is there someone who understands how applications such as the TTS Builder itself is developed? What is the…
Chibueze Opata
  • 9,856
  • 7
  • 42
  • 65
4
votes
1 answer

How to tell speech recognizer to start recognition?

I am working on a c# application that uses the SAPI COM component. In the following code snippe, how can I tell the recognizer to start recognition based on the grammar and the wav file? Thanks. ISpRecognizer sre = new…
user646073
  • 149
  • 5
  • 12
4
votes
3 answers

how to lengthen the pause between the words with text-to-speech (pyTTS or SAPI5)

Is it possible to extend the gap between spoken words when using text to speech with SAPI5 ? The problem is that esp. with some voices, the words are almost connected to each other, which makes the speech more difficult to understand. I'm using…
Berry Tsakala
  • 15,313
  • 12
  • 57
  • 80
4
votes
1 answer

How to use x-sampa phonetic transcription on SAPI 5

I have a bunch of x-sampa phonetic transcriptions like "p_hleIs that I would like to use with SAPI 5. Is this possible?
user3900456
  • 2,003
  • 3
  • 25
  • 33
4
votes
1 answer

Adding new voices to Text to Speech Engine in Windows 10

I'm developing WPF C# app (not UWP). I utilize speech synthesizer from FCL to get installed voices.So I created a short console application to show installed voices: using System.Speech.Synthesis; using static System.Console; namespace TTS.Demo { …
wbadry
  • 797
  • 16
  • 27
4
votes
2 answers

Does anyone know a way to programmatically create and/or select Speech Profiles in SAPI?

I need to give users an easy way, without going to the control panel, to select a speech profile. I found: Acoustic training using SAPI 5.3 Speech API but there are no examples and the information is incomplete. I could really use an example, if…
Matt H
  • 41
  • 1
4
votes
1 answer

Generate timed-text synchronised with Text-to-Speech word-by-word?

How can I generate timed-text (e.g. for subtitles) synchronised with Text-to-Speech (TTS) word-by-word? I'd like to do this using the high quality SAPI5 voices (e.g. those available from IVONA here) and that I have used on Windows 10. On Windows we…
GavinBrelstaff
  • 3,016
  • 2
  • 21
  • 39
4
votes
1 answer

Problems using SAPI with PHP through COM, on IIS

I am attempting to get Text To Speech and Speech Recognition to work in PHP using Microsoft's SAPI through COM objects. In the past, I already used this code to get TTS to work (Apache 2.1, PHP 5.5, on Windows 2003 Server) // Instantiate the…
resle
  • 2,254
  • 4
  • 19
  • 37
4
votes
2 answers

SpeechRecognitionEngine recognizers

I just downloaded the fr-FR runtime language pack so that I can recognize French speech through my program. However, my program throws the error Additional information: No recognizer of the required ID found. at SpeechRecognitionEngine recognizer…
rakagunarto
  • 325
  • 3
  • 23
4
votes
3 answers

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", ""))); GrammarBuilder builder = new GrammarBuilder(); builder.Append(new SemanticResultKey("options",…
Kim Major
  • 3,681
  • 1
  • 22
  • 20
4
votes
2 answers

Python 3.4 - Text to Speech with SAPI

I was trying to use this code to convert text to speech with Python 3.4, but since my computer's main language is not English (I'm using Win7x64) the voice and the accent are wrong (Because I want it to "speak" English). import…
Livio
  • 41
  • 1
  • 1
  • 2
4
votes
1 answer

How to save SAPI text to speech to an audio file in VBScript?

I have the following VBScript code for text to speech conversion: Set objVoice = CreateObject("SAPI.SpVoice") objVoice.Speak Inputbox("Enter Text") I want to save the speech to an audio file. How can I do this?
user3065043
  • 57
  • 2
  • 9
4
votes
4 answers

Question on Speech Recognition classes in .NET

Is it possible to have an application built using the .NET speech recognition classes and pass in a WAV file for it to go through and create a text representation of it. For example, this what I'm trying to do: We have a QA department at my office…
Gup3rSuR4c
  • 9,145
  • 10
  • 68
  • 126
1 2
3
28 29