Unable to Get Logical Results with Azure Pronunciation Assessment

tzviya langenthal 0 Reputation points
2024-11-07T20:28:30.9833333+00:00

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
Azure AI Speech
Azure AI Speech
An Azure service that integrates speech processing into apps and services.
1,772 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.