質問編集履歴
2
間違えを訂正
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
調べてみたところ、speaking rateの設定は、terminalで -r をつけることでrateを設定できるようです。
|
3
3
|
|
4
4
|
確認したところ、kyokoでの読み上げ設定の上限値は720でした。
|
5
|
-
環境設定でバーを使って設定できる上限値は、rate
|
5
|
+
環境設定でバーを使って設定できる上限値は、rate 350です。
|
6
6
|
デフォルトで720に設定することは可能でしょうか。
|
7
7
|
|
8
8
|
```terminal
|
1
進捗状況を加筆
title
CHANGED
File without changes
|
body
CHANGED
@@ -18,4 +18,23 @@
|
|
18
18
|
|
19
19
|
##参考にしたサイト
|
20
20
|
macos - Is it possible to change the speech rate in OS X say command? - Super User
|
21
|
-
https://superuser.com/questions/679099/is-it-possible-to-change-the-speech-rate-in-os-x-say-command
|
21
|
+
https://superuser.com/questions/679099/is-it-possible-to-change-the-speech-rate-in-os-x-say-command
|
22
|
+
|
23
|
+
|
24
|
+
##追記 2020/04/23 15:32
|
25
|
+
Techniques for Customizing Synthesized Speech
|
26
|
+
https://developer.apple.com/library/archive/documentation/UserExperience/Conceptual/SpeechSynthesisProgrammingGuide/FineTuning/FineTuning.html#//apple_ref/doc/uid/TP40004365-CH5-SW3
|
27
|
+
|
28
|
+
上記のサイトの記述からSpeech SynthesisでSpotlightで検索すると下記のファイルが引っかかりました。
|
29
|
+
|
30
|
+
/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/AVFoundation.framework/Versions/A/Frameworks/AVFAudio.framework/Versions/A/Headers/AVSpeechSynthesis.h
|
31
|
+
|
32
|
+
|
33
|
+
ファイル内に下記のような記述があることから、このファイルがspeech機能の根幹を担っているようであると判断しました。おそらく、このファイルがどの設定ファイルを参照しているかわかれば、そこを辿って、上限値を設定できると思うのですが、このAVSpeechSynthesis.hというファイルからrateの参照先を調べる方法はありますでしょうか。
|
34
|
+
|
35
|
+
```.h
|
36
|
+
extern const float AVSpeechUtteranceMinimumSpeechRate API_AVAILABLE(ios(7.0), watchos(1.0), tvos(7.0), macos(10.14));
|
37
|
+
|
38
|
+
|
39
|
+
@property(nonatomic) float rate; // Values are pinned between AVSpeechUtteranceMinimumSpeechRate and AVSpeechUtteranceMaximumSpeechRate.
|
40
|
+
```
|