Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,772 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to use the pronunciationAssessment
feature in the Azure Speech SDK, but I cannot get reasonable results. Here's the code I ran:
using Microsoft.CognitiveServices.Speech;
using Microsoft.CognitiveServices.Speech.Audio;
using Microsoft.CognitiveServices.Speech.PronunciationAssessment;
namespace PronunciationAssessmentDemo
{
class Program
{
public static AudioConfig CreateAudioConfigFromBytes(byte[] audioBytes)
{
var audioStream = new MemoryStream(audioBytes);
var pushStream = AudioInputStream.CreatePushStream();
pushStream.Write(audioBytes);
pushStream.Close();
var audioConfig = AudioConfig.FromStreamInput(pushStream);
return audioConfig;
}
public static async Task