initWithVoice:
指定したボイスで、ボイスオブジェクトを初期化して返します
-(id)initWithVoice:(NSString *)voice:
解説
指定したボイスで、ボイスオブジェクトを初期化して返します。
返り値
( id )
オブジェクト()
引数
( NSString * )voice
フレームワーク
ApplicationKit
クラス
NSSpeechSynthesizer
Instance Methods
使用可能
10.3
参照
例文
NSSpeechSynthesizer *speech = [[NSSpeechSynthesizer alloc] initWithVoice:@"com.apple.speech.synthesis.voice.Fred"];