Published in


Speech Synthesis: Text To Speech in SwiftUI

Photo by Brett Jordan on Unsplash

Speech synthesis is the process of producing human speech artificially. A system used for this purpose is called a speech synthesizer, and can be implemented in software or hardware products.

Apple provides speech synthesis library inside AVFoundation framework.

Speech synthesis requires use of two classes, AVSpeechUtterance and AVSpeechSynthesizer.



-- is all about sharing knowledge by practical means. We focus on solving real world challenges via code.

Recommended from Medium

Web Performance Essentials

Welcome to the Women Who Code Python Blog!

A Simplified Guide to Kotlin Coroutines

Running the DockerOperator with the LocalExecutor in Docker Compose

NVL() Function in Oracle

Why You Should Not Screen Scrape Open Banking APIs

Java Programming Language: Stack Class

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


DevTechie creates tutorials at Also video courses on: and courses on:

More from Medium

SwiftUI BarChart with Drag Gesture

Cart Functionality for Cookies App with SwiftUI

Navigation View Style in SwiftUI

SwiftUI | Implicit and Explicit Animations