Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

System Text To Speech option doesn't work on M1 #12

Open
pitermach opened this issue Jul 13, 2021 · 6 comments
Open

System Text To Speech option doesn't work on M1 #12

pitermach opened this issue Jul 13, 2021 · 6 comments

Comments

@pitermach
Copy link

STR:

  • Establish a remote connection
  • Set the speech to the TTS option

Expected: Speech should work
Actual: The app remains silent.

Tested with official App Store release under Mac OS 11.5 and compared against iOS 15 Public Beta on an iPhone.
The reason this is probably happening, which I discovered while troubleshooting another app, is the Mac implementation of AVSpeechSynthesizer on Mac is bugged. If you make an utterance without specifying a voice, instead of just giving you a default, on Mac it just gives you null and if you try to speak with it nothing happens.

You could probably fix this by using the function to get a voice for the system language, but a better approach would be to just have an option to select a voice in the interface, which would also benefit everyone on iOS. On my phone it uses the Samantha compact voice and I'd prefer to switch to Alex on there as well.

@EscolarProgramming
Copy link
Owner

Hello,
Thank you for your feedback. The app has no support for M1 Mac, nevertheless it's nice to hear that it partly works. I already get the system language voice (AVSpeechSynthesisVoice.FromLanguage(AVSpeechSynthesisVoice.CurrentLanguageCode)), but I'll try to implement a voice-switcher. The thing is, I don't have a M1 Mac, so it's try-and-error and you have to test it.

@zersiax
Copy link

zersiax commented Jan 3, 2022

Did you ever get anywhere with this, out of interest? I'd be happy to test builds, own a mac mini with m1 :)

@pitermach
Copy link
Author

I just tried again and speech is still silent on Mac OS 12.1. I stand by what I said with having a voice selection being useful in general

@ChrisDuffley
Copy link

ChrisDuffley commented Jan 3, 2022 via email

@rperez030
Copy link

I also own an m1 Mac and would be happy to help test the feature on Mac OS.

@MikeyBeez
Copy link

The APIs that worked on Intel Macs don't work on M1 Macs. I think that's because TTS and STT use the ANE on M1 Macs. Apple has not updated their existing APIs for this. There must be a hidden API that Apple uses in house, and I think they're given it to Adobe but no one else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants