From aa680d9248d2838cb81ef66025264fbfd47a5152 Mon Sep 17 00:00:00 2001 From: Zach Lasiuk Date: Tue, 25 Feb 2025 08:49:49 -0600 Subject: [PATCH] changing .mp3 to .wav format for audio demo --- .../javascript--llm-voice-transcriber.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/themes/arm-design-system-hugo-theme/layouts/partials/demo-components/llm-voice-transcriber/javascript--llm-voice-transcriber.html b/themes/arm-design-system-hugo-theme/layouts/partials/demo-components/llm-voice-transcriber/javascript--llm-voice-transcriber.html index 338280ce3f..ece77a4879 100644 --- a/themes/arm-design-system-hugo-theme/layouts/partials/demo-components/llm-voice-transcriber/javascript--llm-voice-transcriber.html +++ b/themes/arm-design-system-hugo-theme/layouts/partials/demo-components/llm-voice-transcriber/javascript--llm-voice-transcriber.html @@ -160,7 +160,7 @@ // When the recording stops, create an audio file mediaRecorder.onstop = () => { - const audioBlob = new Blob(audioChunks, { type: 'audio/mp3' }); + const audioBlob = new Blob(audioChunks, { type: 'audio/wav' }); const audioUrl = URL.createObjectURL(audioBlob); // Convert and store blobToBase64(audioBlob, (base64) => {