-
Notifications
You must be signed in to change notification settings - Fork 25
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
MacOS: Only first phrase is being pronounced #40
Comments
Please see the hello_world example for macOS-specific changes, specifically:
Please re-open if that doesn't work, or submit a PR if you know how to integrate that into the library itself. Thanks. |
Yeah, I tried that and it hangs indefinitely after the first phrase
|
Sorry, I can't reopen this. |
Sorry, not sure how to fix this and it works for what I need it to do under macOS. I'll leave it open for folks with more macOS experience to help. |
Ok, I think what needs to be done is to call something like this:
https://developer.apple.com/documentation/foundation/nsrunloop/1411525-runmode?language=objc I am very new to Rust so, not sure of what to pass here: NSDate::distantFuture() Any idea? I can try to proceed further :) |
Ok, I got it working
Need to see how to include this call into the library after each call to speak. |
I'm currently facing this problem. But as far as I know, using opencv-rust's highgui works as expected without writing an NSRunLoop. |
Tried using it my macos console app and noticed that only first occurence of tts.speak produces sound.
Retried with simple example and the problem is reproducible
The text was updated successfully, but these errors were encountered: