Error using speech2text

조회 수: 3 (최근 30일)
Steffen Weisenstein
Steffen Weisenstein 2018년 9월 24일
답변: Zenin Easa Panthakkalakath 2018년 9월 27일
I have the following problem. I used this function a few months ago and it worked good. Now I created new API-keys and I get the following error message:
401 'Access denied due to invalid subscription key. Make sure to provide a valid key for an active subscription.'
I use the Microsoft Azure Bing API and the following source code.
speechObject = speechClient('Microsoft','language','de-DE');
[y,fs] = audioread('test2.wav');
speechObject = speechClient('Microsoft','language','de-DE');
tableOut = speech2text(speechObject,y,fs)
Can you please tell me where is my mistake.
Greetings

답변 (1개)

Zenin Easa Panthakkalakath
Zenin Easa Panthakkalakath 2018년 9월 27일
The Azure Speech API is part of Cognitive Services and requires subscription keys. Generate the key from Azure and save it to 'Microsoft_Credentials_Speech2text.json' file. The steps are written in detail inside the file exchange submission as a comment:

카테고리

Help CenterFile Exchange에서 Audio and Video Data에 대해 자세히 알아보기

태그

제품


릴리스

R2018a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by