Text to speech in Murmel: ten Dutch voices, now in beta
Murmel already turns speech into text. From today it also works the other way round: paste a text or pick a transcript, and have it read aloud by a voice that speaks Dutch the way it should
Since Murmel started, everything has gone in one direction: from spoken Dutch to text. But more and more people asked whether it could work the other way round too. Someone who'd rather listen to a report than read it, in the car or on a walk. A teacher who wants course material read aloud. An organisation that wants to make texts accessible to people who struggle with reading. Or a developer who wants a Dutch voice in their own app.
From today, it can. The studio has a new tab: Tekst naar spraak (text to speech). It's still a beta, but it's available to everyone.
Listen to the voices
We made a wide range of voices: men and women, young and older, from calm and steady to energetic and lively, each with a sound of its own. Below, every voice says the same sentence, exactly as Murmel makes it.
“Hallo! Zo klink ik als ik iets voor je voorlees. Fijn dat je er bent.”
- Sanne
- Daan
- Yasmina
- Henk
- Ingrid
- Bram
- Lotte
- Ruben
- Jeroen
- Els
What you can do with it
- Have a text read aloud. Paste a text of up to 50,000 characters, about 55 minutes of speech, choose a voice and a pace, and you get an mp3.
- Have a transcript read aloud. Choose "Gebruik een transcript" in the tab, or click ▶ Voorlezen on a transcript.
- Read along. While it plays, the word you hear lights up. Click a word to continue listening from there.
- Change the pace, from a bit slower (0.7) to a bit faster (1.3).
Your own voice
You can also add your own voice. You record at least 30 seconds of your voice, or upload a clear recording of only your voice. Then you read a short sentence aloud that Murmel picks at that moment. Murmel then checks two things: that you really said the sentence, and that the voice in your recording is the same as the voice that read the sentence. That way you can only add your own voice, not someone else's. You can always delete your own voice again.
Everything Murmel reads aloud carries an inaudible watermark, so it can be recognised as synthetic speech.
Through the API
Developers can use text to speech through the Murmel API, with the same voices. GET /v1/voices lists the voices, POST /v1/speech makes the audio:
curl -X POST https://api.murmel.eu/v1/speech \
-H "X-API-Key: $MURMEL_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"text": "Goedemorgen! De vergadering begint om 9:30.",
"voice": "sanne",
"response_format": "mp3"
}' \
-o welkom.mp3Long texts? Pass a callback_url and you get an answer straight away, with the result sent to you once it's ready. Everything is in the API documentation.
What it costs
Text to speech uses the same credits as transcription. One minute of generated speech costs five minutes of credits. Before you start you see roughly how long the speech will be and how many credits it takes. Stop halfway and you only pay for what's already done.
Why beta
It works, but it's new, and some things can still get better. Names and foreign words are sometimes pronounced differently than you'd expect. Making a long text takes a while, although you always see how far along it is. And the voices, the price and the API may still change based on what you think of it.
Hear something that's off? Let me know at info@the-ai-factory.com. Exactly those examples make the next version better.