logo
episode-header-image
Oct 2024
18m 55s

Episode 209 - AI-Powered Pronunciation: ...

Mark and Allen
About this episode

This episode of Two Voice Devs, recorded before the exciting announcement of OpenAI's GPT-4o Realtime and Audio previews, tackles a classic developer challenge: taming unruly text-to-speech (TTS) engines. Triggered by a listener question, Allen and Mark dive into the frustrating inconsistencies of TTS pronunciation, particularly when dealing with dynamically generated text from LLMs. They explore the limitations of SSML, experiment with phoneme alphabets like X-SAMPA, and even ponder the possibility of multimodal LLMs generating perfect audio natively – a concept now realized with models like GPT-4o Realtime and Audio! While Mark and Allen don't discuss these new models directly, their insights on pronunciation control, leveraging existing tools, and integrating LLMs with TTS remain incredibly relevant. Join us for a conversation that foreshadows the future of AI-powered voice development and offers practical strategies for achieving flawless pronunciation, even in the pre-realtime audio era. These techniques and discussions offer valuable context and potential solutions even as new, more advanced models emerge.


Timestamps:


[00:00:00] Introduction and Listener Question: The challenge of inconsistent TTS pronunciation.

[00:02:01] The Problem in Action: Hear how Google TTS mispronounces a seemingly straightforward phrase.

[00:02:52] Exploring SSML Solutions: The pros and cons of using SSML tags for pronunciation control.

[00:04:15] The Generative Text Challenge: How to handle correct pronunciation when text is dynamically generated.

[00:07:58] The Phoneme Alphabet Approach: Using X-SAMPA to specify pronunciation directly.

[00:09:06] A Live Experiment: Allen demonstrates his phoneme-based solution using AI Studio and Gemini.

[00:10:51] Testing Edge Cases: Exploring the limitations of the phoneme approach with past tense verbs.

[00:12:19] The Multimodal LLM Dream (Now a Reality?): Allen and Mark discuss the potential of LLMs generating perfect audio.

[00:13:20] Alternative Approaches: Mark suggests using parts-of-speech tagging for enhanced context.

[00:15:16] The Future of TTS (Then and Now): Discussing the evolution of text-to-speech technology and its integration with LLMs, including reflections relevant to the latest preview models like GPT-4o Realtime and Audio.

[00:17:22] Community Call to Action: Share your solutions and insights on handling tricky TTS pronunciations! How do the latest LLM advancements impact your approach?


Our thanks to bonadio (https://github.com/bonadio) for their question.


#GenerativeAI #GenAI #TextToSpeech #TTS #MultimodalLLM #Multimodal #BuildWithGemini #OpenAI #GPT4o #GPT4oRealtime #GPT4oAudio #VoiceFirst

Up next
Jul 31
Episode 250 - Five Years Up, Up, and Away in Voice & AI
Join Mark and Allen for a very special 250th episode as they celebrate five years of Two Voice Devs! You won't want to miss the unique, AI-animated opening that takes them to new heights, or the special closing that brings it all home, both created with the help of Veo 3. In betw ... Show More
36m 14s
Jul 24
Episode 249 - Cracking Copilot and the Mysteries of Microsoft 365
In this episode, guest host Andrew Connell, a Microsoft MVP of 21 years, joins Allen to unravel the complexities of Microsoft's AI strategy, particularly within the enterprise. They explore the world of Microsoft 365 Copilot, distinguishing it from the broader AI landscape and co ... Show More
52m 7s
Jul 17
Episode 248 - AI Showdown: Gemini CLI vs. Claude Code CLI
Join Allen Firstenberg and guest host Isaac Johnson, a Google Developer Expert with a deep background in DevOps and SRE, as they dive into the world of command-line AI assistants. In this episode, they compare and contrast two powerful tools: Anthropic's Claude Code CLI and Googl ... Show More
41m 31s
Recommended Episodes
Nov 2024
Making Sense of Agentic AI | ThoughtWorks Birgitta Boeckeler
There’s AI agents. There’s AI tooling. Do either drive business impact or are they just more things your dev team is supposed to stay on top of? Birgitta Boeckeler, Global Lead for AI Assisted Software Delivery at ThoughtWorks, joins the show to discuss the practical applications ... Show More
47m 40s
Sep 2023
Meta’s Quest 3, AI chatbots and Ray-Ban smart glasses
This week, it’s Meta’s turn to highlight AI during its device event. In this episode, Devindra and Cherlynn dive into all of the news from Meta’s Connect 2023 event, where it unveiled Meta AI and accompanying celebrity-powered chatbots. Oh yah, and it introduced the Meta Quest 3 ... Show More
1h 6m
Sep 2024
Study Reveals Vulnerabilities in Alexa, Siri, and Google Assistant to Malicious Commands
In this episode, we explore a recent study that uncovers how popular voice assistants like Alexa, Siri, and Google Assistant are susceptible to malicious commands. We discuss the potential risks and what users can do to protect their devices. Get on the AI Box Waitlist: ⁠⁠⁠https: ... Show More
6m 17s
Nov 2024
SN 1001: Artificial General Intelligence (AGI) - Gmail Temp Addresses, Russia's Internet Off Switch
How Microsoft lured the US Government into a far deeper and expensive dependency upon its cybersecurity solutions. Gmail to offer native throwaway email aliases like Apple and Mozilla. Russia to ban several additional hosting companies and give its big Internet disconnect switch ... Show More
2h 26m
Sep 2024
AI is more than GenAI
GenAI is often what people think of when someone mentions AI. However, AI is much more. In this episode, Daniel breaks down a history of developments in data science, machine learning, AI, and GenAI in this episode to give listeners a better mental model. Don’t miss this one if y ... Show More
40m 3s
Jul 2019
AWS’ new text-to-speech engine sounds like a newscaster
Thanks to modern machine learning techniques, text-to-speech engines have made massive strides over the last few years. It used to be incredibly easy to know that it was a computer that was reading a text and not a human being. But that’s changing quickly. Amazon’s AWS cloud comp ... Show More
2m 48s
Jan 2021
How Salesforce will make Einstein smarter in 2021
Salesforce launched Einstein, its artificial intelligence tool, in 2016. It was memorable because of the marketing materials, featuring a cute cartoon of the world's most misquoted-scientist. It was also memorable because of the unique capabilities Einsten brought to the table. T ... Show More
27m 46s
May 2021
397: Customer Feedback vs. Team Intuition
This week, we talk about the tension between building what customers explicitly ask for versus building towards a team’s internal vision. In The Sidebar, we talk about the lack of public software critique: Why isn’t there an MKBHD equivalent for software design?Golden Ratio Suppo ... Show More
23m 29s