I want to make VO a first class user experience by swapping Siri’s voice with that of a voice actor’s.
I’m thinking I could override the getter for .accessibliltyLabel to fire my audio event before returning nil. I’m going to write a simple testing app to see the behavior, but I’m not very comfortable with this approach as the accessibility label is used by other aspects of the OS (notably UI automation testing) and it’s not really in keeping with OOP best practices.
I’d prefer to override that audio at the proper call site, which would might look like audioStreamForAccessibilityElement(), but if such an API exists it’s almost certainly outside of my App’s sandbox.
On Feb 5, 2016, at 12:40 AM, Alex Hall < email@hidden> wrote:
I'm not quite sure what you're trying to do. By the Siri voice, do you mean hearing VoiceOver speak was distracting? Or by playing audio, are you trying to get VO to speak a string, like Chris's suggestion will do?
Sent from my iPhone I was playing a text adventure game yesterday (lifeline) while trying out VO. The Siri voice took me out of the narrative. Does anyone know of an acceptable way (non-private APIs) to provide audio content through the VO system?
Do not post admin requests to the list. They will be ignored.
Accessibility-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
|