---
slug: "iOS7の、TextToSpeechを使って、iOSに喋らせる"
title: "Using iOS7's Text To Speech to Make iOS Speak"
description: "\n\n\n\nLo-Fi.\nCan also play in Japanese.\nJapanese is slightly distorted.\n\nThe AVFoundation framework is required"
url: "https://www.ytyng.com/en/blog/iOS7の、TextToSpeechを使って、iOSに喋らせる"
publish_date: "2013-09-30T13:40:33Z"
created: "2013-09-30T13:40:33Z"
updated: "2026-02-27T10:44:37.232Z"
categories: ["iOS"]
keywords: ""
featured_image_url: "https://media.ytyng.com/resize/20230812/baf1cdfe96b642688b99144460b1be87.png.webp?width=768"
has_video: false
has_music: false
video_urls: []
music_urls: []
lang: "en"
---

# Using iOS7's Text To Speech to Make iOS Speak

<div class="document">


<ul class="simple">
<li>Lo-Fi.</li>
<li>Can also play in Japanese.</li>
<li>Japanese is slightly distorted.</li>
</ul>
<p>The AVFoundation framework is required</p>
<pre class="literal-block">#import &lt;AVFoundation/AVFoundation.h&gt;

AVSpeechUtterance *utterance = [AVSpeechUtterance
                              speechUtteranceWithString:@"The quick brown fox"];
// Language, defaults to iOS settings if omitted
utterance.voice = [AVSpeechSynthesisVoice voiceWithLanguage:@"en-US"];
utterance.rate = 0.2;
utterance.volume = 0.8;

AVSpeechSynthesizer *synth = [[AVSpeechSynthesizer alloc] init];
[synth speakUtterance:utterance];
</pre>
</div>
