-
Notifications
You must be signed in to change notification settings - Fork 42
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
even when espeak is installed, prosodic is unable to run on windows #62
Comments
I met the same issue. Any clues now? |
Hm, sorry you're having this issue, guys. Are you both on Windows? |
It's great you're here!
|
I don't have a Windows machine at the moment so it's a little hard for me to test, but I just asked work and I'm going to borrow a windows laptop for a while and see what I can figure out |
In the meantime, if http://prosodic.org/ can help you for your use case (it may not!), feel free to give that a whirl |
Thank you for your patience. I've managed to import the Here is the Python code I used: import os
# Set the environment variable to the path of libespeak.so
os.environ["PATH_ESPEAK"] = os.path.join(os.getcwd(), "libespeak.so")
import prosodic
# Create a prosodic Text object and display its prosody
pa = prosodic.Text("shall we?")
pa.show() However, I encountered some unexpected log messages:
The Text("shall we?") statement doesn't contain any Chinese characters, so I'm puzzled by these log entries. |
How bizarre, thanks for reporting this! I will see if I can recreate and see what's going on but glad you were able to find a solution for now |
It would be great if this could be resolved further, I'm really looking forward to version 2.0! |
The codes doesn't solve the problem, prosodic cannot parse correctly. |
Hi everyone, I've spent some time on this and prosodic+espeak works for me now on Windows 11 (haven't tried others).
Prosodic will look for the installed files in:
You can also set the environment variable directly: import os
os.environ["PATH_ESPEAK"]="C:\\my\\path\\to\\libespeak-ng.dll"
import prosodic
import prosodic
t=prosodic.Text("goobledy gobbledy goo")
t.df If you see an "Error: could not find mbrola.dll" error, please ignore it; it's not necessary. I'd really appreciate if someone could test this out and see if it works for them on Windows or if any problems remain. Thanks for your patience! |
Wow! |
Even if you use the source forge link to install espeak, you still get the error on windows that you are missing espeak. FYI espeak on windows does not have the file libespeak.dylib or libespeak.so
The text was updated successfully, but these errors were encountered: