Problem with my Voice Replication

Dear all, once I tried to create a voice replication on Google AI studio, speech generation, but everytime it showed up with the following message (see attachment). Please help me solve this problem.

Hello @Bounheng_Southichak,

This error means Google AI Studio couldn’t capture audio from your microphone, so your two recordings weren’t actually saved when you clicked to replicate the voice. Please try:

  • Allow microphone access for aistudio.google.com: click the site settings icon in the address bar and set Microphone to Allow, and check that your operating system lets your browser use the microphone.
  • Make sure a working microphone is connected and selected as your input device.
  • Delete both recordings, record them again, and press Play on each to confirm you can hear your voice before replicating.

If recording in the browser still doesn’t work, you can also replicate a voice through the Gemini API using your own recordings: https://ai.google.dev/gemini-api/docs/voice-replication