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

Human.speak doesn't in Ubuntu, and job hangs. #84

Open
JamesNewton opened this issue Jul 25, 2022 · 1 comment
Open

Human.speak doesn't in Ubuntu, and job hangs. #84

JamesNewton opened this issue Jul 25, 2022 · 1 comment

Comments

@JamesNewton
Copy link
Collaborator

This sample job (from the help panel)

new Job({name: "j1",
         do_list: [
           Human.speak({speak_data: "hi there folks",
                        rate: 0.25,
                        wait: true}),
           IO.out("done")
         ]})

in Ubuntu 18.04, DDE 3.8.7,

  1. Doesn't produce any sound
  2. Causes the job to hang.
    I tried to debug it, but found the code confusing. It seems to execute the speech requirement, and then get suck in instruction.js in a jqx library?

It doesn't appear that DDE installs a text-to-speech package, and instead uses espeak on the robot and some native call otherwise? Perhaps I missed it in Package.json?

There dont' seem to be good alternatives which don't require the installation of other packages.
https://www.npmjs.com/search?ranking=optimal&q=text-to-speech

but the key is that if it doesn't work, it shouldn't lockup the job.

@cfry
Copy link
Owner

cfry commented Jul 27, 2022 via email

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