     const audioUrl = URL.createObjectURL(audioBlob);
        const audioElement = document.createElement('audio');
        audioElement.id = 'audioElement';
        audioElement.controls = true;
        audioElement.autoplay = true;
        audioElement.src = audioUrl;
        
        audioContainer.innerHTML = '';
        audioContainer.appendChild(audioElement);
        noAudioMessage.style.display = 'none';
        downloadContainer.style.display = 'block';
        updateCurrentVoiceDisplay(voice || mo