Please find attached Node-Red example, using Watson's APIs, but no luck. We tried to connect MQlight components, Javascript functions for accessing only the API, and more.
Please find attached JSON files to import in Node-Red.
[{
"id":"e40a3407.1bf5c8",
"type":"inject",
"name":"",
"topic":"",
"payload":"Watson Please talk",
"payloadType":"string",
"repeat":"10",
"crontab":"",
"once":false,
"x":205,
"y":176,
"z":"8e90dcc6.716f2",
"wires":[["df84c369.207b4"]]},
{"id":"df84c369.207b4",
"type":"watson-text-to-speech",
"name":"Watson Text-To-Speech",
"voice":"VoiceEnUsMichael",
"x":416,
"y":262.9999237060547,
"z":"8e90dcc6.716f2",
"wires":[["6174536a.9e8bac"]]},
{"id":"6174536a.9e8bac",
"type":"debug",
"name":"",
"active":true,
"console":"false",
"complete":"false",
"x":631.857177734375,
"y":172.14283752441406,
"z":"8e90dcc6.716f2",
"wires":[]
}]
The transcribed audio will come out of the Watson speech to text node on
msg.speech
. It will be a Buffer object.