startSpeakingString:toURL:
テキストを話して、指定したファイルURLに保存します
-(BOOL)startSpeakingString:(NSString *)string: toURL:(NSURL *)url:
解説
テキストを話して、指定したファイルURLに保存します。
返り値
( BOOL )
YES/NO
引数
( NSString * )string
話す文字列
( NSURL * )url
ファイルのURL
フレームワーク
ApplicationKit
クラス
NSSpeechSynthesizer
Instance Methods
使用可能
10.3
参照
-isSpeaking
-startSpeakingString:
-stopSpeaking ,NSURL class (Foundation)
例文
[speech startSpeakingString:@"Hello" toURL:[NSURL URLWithString:@"file://localhost/Users/oomori/Desktop/aaa.aiff"]];