Take a look at: http://developer.apple.com/mac/library/documentation/Carbon/Reference/Speech_Synthesis_Manager/Reference/reference.html#/ /apple_ref/doc/constant_group/Speech_Channel_Information_Constants
This is for Objective C, but I expect the objects exist in java too. Essentially a parameter in setSpeechInfo will change voices for a given channel. It appears a channel is linked to a synthesizer so you would need to create a new channel if you need to change synthesizer . Jon On Aug 29, 2009, at 7:01 PM, louie wrote: > > Ann I want to change the voice from within a java program. thanks. > On Aug 29, 2009, at 2:42 PM, Anne Robertson wrote: > >> >> Hello Louis, >> >> To change the voice on the fly, press VO-Command-left or right arrow >> until you reach "Default Voice", then keep holding down VO-Command >> and >> use the up and down arrows to change the voice. >> >> Cheers, >> >> Anne >> >> On Aug 29, 2009, at 10:55 PM, louie wrote: >> >>> >>> Hi all, >>> Anyone know the embedded command to change the voice? >>> I have found the below commands. >>> >>> [[volm +0.1]] will change the volume. >>> [[rate 400]] will change the rate. >>> Thanks for any help. >>> >>> >>> louie >>> [email protected] >>> >>> >>> >>> >>>> >> >> >>> > > louie > [email protected] > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "MacVisionaries" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/macvisionaries?hl=en -~----------~----~----~----~------~----~------~--~---
