  // single result.
            reco.startContinuousRecognitionAsync();
        }

        async function pronunciationAssessmentConfiguredWithJson() {
            resetUiForScenarioStart();
            resetVariables();

            var audioConfig = getAudioConfig();
            var speechConfig = getSpeechConfig(SpeechSDK.SpeechConfig);
            var pronunciationAssessmentConfig = await getPronunciationAssessmentConfigFromJson();
            if (!audioConfig || !speechConfig || !pronunciationAssessmen