RosettaCodeData/Task/Speech-synthesis/FutureBasic/speech-synthesis.basic

6 lines
221 B
Plaintext

SpeechSynthesizerRef ref
ref = fn SpeechSynthesizerWithVoice( @"com.apple.speech.synthesis.voice.daniel.premium" )
fn SpeechSynthesizerStartSpeakingString( ref, @"This is an example of speech synthesis." )
HandleEvents