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

"Failed to load language" when running the test #3

Open
jugg1es opened this issue Jan 17, 2015 · 1 comment
Open

"Failed to load language" when running the test #3

jugg1es opened this issue Jan 17, 2015 · 1 comment

Comments

@jugg1es
Copy link

jugg1es commented Jan 17, 2015

This problem may be due to my inexperience with linux, but when you run the test program in picopi/pico/tts/ folder like:

./testts "Testing SR" | aplay (etc...)
, it runs fine. But if you do something like

/home/pi/picopi/pico/tts/testts "Testing SR" | aplay (etc...)

It returns "Failed to load language" and then doesn't release the audio device so that I have to reboot. How can I get around this?

@ch3ll0v3k
Copy link

if you lock in file main.cpp for the line

"
result = ttsEngine->init(synth_done, "../lang/");
"

The language-binary-path is hard-codet. Change it. to wat yoy want

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

2 participants