dialog and text to speech for intel edison

Work in progress

What the flow does: Takes dialog from your Bluemix app and converts it to text and then to speech. We assume you have a Grove sound sensor for the Intel Edison.

How it is used: Enables you to hear Watson via the Intel Edison's sensors instead of via the browser.

[{"id":"a37efd02.9d704","type":"debug","z":"2ee103.1dae0efe","name":"","active":false,"console":"false","complete":"false","x":591,"y":113,"wires":[]},{"id":"4e96e43b.eb357c","type":"watson-text-to-speech","z":"2ee103.1dae0efe","name":"Text to Speech-21","lang":"english","voice":"en-US_LisaVoice","format":"audio/wav","x":353,"y":224,"wires":[["31cefa30.05a136","3ce4a36c.96d49c"]]},{"id":"31cefa30.05a136","type":"debug","z":"2ee103.1dae0efe","name":"","active":false,"console":"false","complete":"speech","x":590,"y":221,"wires":[]},{"id":"86846e3b.8b36b","type":"play audio","z":"2ee103.1dae0efe","name":"","x":419.5,"y":417,"wires":[]},{"id":"3ce4a36c.96d49c","type":"change","z":"2ee103.1dae0efe","name":"set speech as payload","rules":[{"t":"set","p":"payload","to":"speech","tot":"msg"},{"t":"delete","p":"speech"}],"action":"","property":"","from":"","to":"","reg":false,"x":415.5,"y":328,"wires":[["86846e3b.8b36b"]]},{"id":"224d890e.952a46","type":"service-dialog","z":"2ee103.1dae0efe","name":"","mode":"converse","dialog":"","clientid":"","converse":"","x":314,"y":114,"wires":[["4e96e43b.eb357c","a37efd02.9d704"]]}]
mobicycle

Flow Info

created 1 year, 3 months ago

Node Types

Core
  • change (x1)
  • debug (x2)
Other

Tags

  • dialog
  • text-to-speech
  • tts
  • watson
  • edison
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option