Azure speech is a cloud based speech to text service in the Microsoft Azure family of machine learning and artificial intelligence APIs
Questions tagged [azure-speech]
140 questions
2
votes
1 answer
Text to speech - not getting audio in the .wav (connection refused)
I run a flask server in which this function is called whenever an specific action occurs on the page :
def generate_audio(text, target):
# create the path
tmp_dir = os.path.join(os.getcwd(), "app/data/audio")
if not…

truvaking
- 347
- 2
- 10
2
votes
1 answer
Azure Speech SDK | Python | Implementing Keyword Recognition
I am trying to create a custom wakeword using Azure cognitive services and Python. I am following the quickstart tutorial -
azure quickstart
I have generated the keyword model using the speech studio and now I am trying to implement it in Python.…

Tushar Saurabh
- 687
- 2
- 13
- 27
2
votes
0 answers
Azure Speech To Text: Conversation Transcribing userid always return $ref$
Using sample code to transcribe conversation, but on recognized event i always get $ref$ when calling e.Result.UserId.
I use 16-bit samples, 16 kHz sample rate, and a single channel (Mono) format for voice signatures.
And 32-bit samples, 32 kHz…

stlik
- 21
- 2
2
votes
1 answer
Integrating Azure Bot with Azure Speech Services
Is there a possible way to integrate the speech services with bot? So i would like to know what is the process that goes in the integration of Speech Services with Bot?
How is it possible to do the integration with bot through the key that is…

Mohamed Meeran
- 47
- 5
2
votes
0 answers
Azure Speech to text demo through error.
I am trying to run Azure speech (Here) after running the app it through error.
ConnectionEstablishErrorEvent and status code 1006
Followings are the error.
ConsoleLoggingListener.ts:29 2018-08-07T03:52:33.658Z | ConnectionEstablishErrorEvent |…

Ravi Prakash
- 1,078
- 1
- 8
- 14
1
vote
1 answer
Azure Speech Text To Speech (TTS) fails with WS_OPEN_ERROR_UNDERLYING_IO_OPEN_FAILED
When running the Golang version of Quickstart: Convert text to speech, this error appears.
Synthesis started.
CANCELED: Reason=1.
CANCELED: ErrorCode=5
CANCELED: ErrorDetails=[Connection failed (no connection to the remote host). Internal error:…

user2736727
- 11
- 2
1
vote
0 answers
Connect to Azure Pronunciation Assessment via API with PHP
I am trying to connect to the Azure Pronunciation Assessment service by API in my PHP Laravel application. It has been frustrating to figure out due to the lack of API documentation from Azure, but I have managed to get a 200 response with…

Chris
- 4,277
- 7
- 40
- 55
1
vote
1 answer
Module 'swagger_client' has no attribute 'CustomSpeechTranscriptionsApi'
I'm using Microsoft's official GitHub repository to set up Azure Speech Services Batch Transcription API from Python
I receive an error from line number 142 in main.py which states
AttributeError: module 'swagger_client' has no attribute…

INDRAJITH EKANAYAKE
- 3,894
- 11
- 41
- 63
1
vote
1 answer
Cognitive Services Speech SDK JavaScript Sample for Speech Synthesis
I am trying to render SVG with viseme event and render in browser using the XML.
Facing WebSocket error code: 1007

Ak123
- 39
- 6
1
vote
1 answer
how to get "logId" in Azure SpeechSDK
I'm using azure speech to text realtime by microphone,and I want to get the audio file when the talk finished.
i find this API Get Custom Model Endpoint Log
can get the file,
but how to get the logId?
I have try to find it in doc but…

Y Ryu
- 11
- 1
1
vote
0 answers
Speech Assessment in Java never returning insertions and omissions nor detecting speech end
for a project I am trying to use azure's speech assessment in java to assess how the user pronounces the words and if they announce it well. Currently I am using a approach that uses the listeners:
System.out.println("Starting recording with " +…

rowan-vr
- 136
- 11
1
vote
0 answers
Sink.Success of EventChannel from Platform cannot send a stream of data to flutter
I am newbie to flutter and java.
I am trying to send a stream of data from speechRecognizer.recognized.addeventlistener function from java to flutter. speechRecognizer.recognized.addeventlistener is using Microsoft Azure speech to text API .But the…

Gaurab Awal
- 11
- 2
1
vote
1 answer
How to change Azure text to speech silence timeout in JavaScript
I'm using Azure SpeechSDK services for speech-to-text transcription using recognizeOnceAsync. The current code resembles:
var SpeechSDK, recognizer, synthesizer;
var speechConfig = SpeechSDK.SpeechConfig.fromSubscription('SUB_KEY',…

Steinn Hauser Magnússon
- 1,258
- 1
- 7
- 22
1
vote
1 answer
Timeout trying to fetch resolutions from npm
I'm trying to install microsoft-cognitiveservices-speech-sdk
npm install microsoft-cognitiveservices-speech-sdk
but I keep encountering this error Timeout trying to fetch resolutions from npm
The solutions I'm finding on stackoverflow all point to…

Woodsy
- 3,177
- 2
- 26
- 50
1
vote
2 answers
Unity with azure speech sdk
When i am using the azure speech sdk on unity, when i test it on the computer it works fine, i can speak, it recognizes and responds in speech all normal.
When I build for Android and iOS it doesn't work.
Both on iOS and Android it advances the…

Rui Guimarães
- 21
- 2