Hello,
VoiceOver can be controlled with APple Script, but what actions are available? The basic scripts provided by VO provideo nly some basic functionality, but as shown by apps like VOCR, much more can be done with VO and Apple Script than that. Could someone provide me with any documentation to the available interfaces?
Also, I am looking for an API of Speech SYnthesis, since I want to develop a simple voice for Mac. I have heard that there's a very old book concerning that, but I know neither the title, or the author. Could someone provide more insight on that plase?
By Nuno, 28 April, 2022
Forum
App Development and Programming
Comments
AppleScript
VoiceOver doesn't have a specific AppleScript layer. If you learn the basics of AppleScript, you should be alright. You can look at my and Mason's Resource Monitor Mac scripts, the built-in Apple ones, or show package contents on VOCR to get the applescripts they used, although it might not be as much as you think.
As for the speech layer, it got majorly changed in macOS 11, and 12, but if you want an old reference, download Tyler Spivey's OSX-Eloquence package from allinaccess.com, and look at the Python module he's using.
Actually...
I take that back. It's just very well hidden. In the Script Editor, press Command Shift O, and select the app you want to get an API reference for.
I don't know if this is what you're looking for
If you want to develop a voice for IOS, maybe this will help.
It's a voice for IOS that comes as a programming example that you can integrate into your app, designed for greenlandic but you can use it to maybe learn the programming concepts you need on how to integrate a voice.
https://oqaasileriffik.gl/en/langtech/martha/