Urgent.News

What's breaking now, across thousands of outlets.

Tech

Build a Voice Cloning Demo App

Why Voice Cloning Is the Next Big Thing If you’ve been playing with text‑to‑speech (TTS) APIs for the past few years, you’ve probably noticed a shift from robotic “read‑aloud” voices to something that actually sounds like a real person. Voice cloning takes this a step further: you feed a handful of recordings, and the model learns to generate speech that mimics the speaker’s tone, cadence, and…

Voice cloning represents a significant leap forward in text-to-speech technology. By analyzing a short audio recording, an AI model can learn the nuances of a speaker's voice, including their unique tone, pace, and filler words. This technique opens up a world of possibilities for developers.

Personalized virtual assistants can now be customized to each user, creating a more natural and engaging user experience. Content creators can easily transform written articles or podcasts into audio format without the need to hire professional voice actors. Additionally, voice cloning technology can greatly enhance accessibility, allowing individuals with speech impairments to listen to text read back in their own voice.

The ElevenLabs cloud service provides cutting-edge voice cloning capabilities through a straightforward REST API. To get started, you'll need an account with ElevenLabs and an API key. The demo application built in this article utilizes ElevenLabs' API to perform three main tasks:

1. Accepting a user's short audio sample through a simple HTML form.

2. Saving the uploaded audio file locally on the server.

3. Using the ElevenLabs API to create a unique voice clone from the uploaded sample.

Once the voice clone is generated, the app can synthesize any text input into speech using the cloned voice. This process involves sending the text to the ElevenLabs TTS endpoint, which then returns the synthesized speech as an MP3 file. The demo is designed to run locally on any laptop, leveraging the power of the cloud for the heavy AI processing.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

301 vs. 302 Redirects: How Search Engines Treat a URL Change, Measured on This Blog

Sooner or later every site changes a URL: a cleaner slug, a move to HTTPS, a new domain or subdomain. Each time, the same question comes up: should the redirect be a 301 or a 302?

  • 301 redirects signal permanent URL changes to search engines
  • 302 redirects indicate temporary changes, weaker signal
  • WordPress defaults to 302 redirects, should be explicitly set to 301

Blocking non-compliance: what RGAA 5 changes for the accessibility statement

A blocking non-compliance prevents a person with a disability from accessing essential information or completing a process.

  • Non-conformité bloquante is a new concept in RGAA 5
  • Blocks a user from accessing essential info or completing a process
  • DINUM has not provided full list or methodology for identifying blocking issues

Release-Day Checklist: Upload Localized Screenshots to App Store Connect and Google Play Without Surprises

Get the right screenshots into the right language listing, in the right order, and you can finish release day with a page you have actually verified. The last mile deserves its own checklist.

  • Lock down release details before export, including app version, languages, devices, and timeline.
  • Align visuals and outputs for each localized screenshot, specifying language and output sizes.

More from Thursday 12 November →