Skip to content

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

@JamesNewton

Description

@JamesNewton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions