Changing Speech rate in NSSpeechSynthesizer
Posted: Thu Dec 19, 2019 12:25 am
Hi.
I am currently porting a program to mac osx. so i'm new to cocoamessage etc.
I am using some speech output. I have most things working well, but
how do you get and set the speech rate in NSSpeechSynthsizer
I have managed to change and get available voices etc. but I can't seem to figure out how to get or change the speech rate.
if i try
to get the rate I seem to always get 0
looks like I need to dig deeper into this cocoamessage thing. looks very interesting.
any help please....
thanks
I am currently porting a program to mac osx. so i'm new to cocoamessage etc.
I am using some speech output. I have most things working well, but
how do you get and set the speech rate in NSSpeechSynthsizer
I have managed to change and get available voices etc. but I can't seem to figure out how to get or change the speech rate.
if i try
Code: Select all
debug cocoamessage(0,speechsynth,"rate")looks like I need to dig deeper into this cocoamessage thing. looks very interesting.
any help please....
thanks