Skip to content

Commit 4b9388d

Browse files
authored
Merge pull request #1635 from zachlasiuk/main
changing .mp3 to .wav format for audio demo
2 parents 181c119 + aa680d9 commit 4b9388d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/arm-design-system-hugo-theme/layouts/partials/demo-components/llm-voice-transcriber/javascript--llm-voice-transcriber.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@
160160

161161
// When the recording stops, create an audio file
162162
mediaRecorder.onstop = () => {
163-
const audioBlob = new Blob(audioChunks, { type: 'audio/mp3' });
163+
const audioBlob = new Blob(audioChunks, { type: 'audio/wav' });
164164
const audioUrl = URL.createObjectURL(audioBlob);
165165
// Convert and store
166166
blobToBase64(audioBlob, (base64) => {

0 commit comments

Comments
 (0)