2017-07-06, 11:57 PM
I have been experimenting with the 'play audio' node and it works fine to convert text into speech but I have not been able to figure out how to send a .wav or similar audio file to the node. Has anybody done this before ?
[
{
"id": "aa7ef48e.cf20a8",
"type": "play audio",
"z": "def155ce.cb8dc8",
"name": "",
"voice": "2",
"x": 889.9374847412109,
"y": 772.3333873748779,
"wires": []
},
{
"id": "8a14d903.578f38",
"type": "inject",
"z": "def155ce.cb8dc8",
"name": "",
"topic": "",
"payload": "",
"payloadType": "date",
"repeat": "",
"crontab": "",
"once": false,
"x": 337.94447326660156,
"y": 771.4167175292969,
"wires": [
[
"c24912be.27dd2"
]
]
},
{
"id": "c24912be.27dd2",
"type": "file in",
"z": "def155ce.cb8dc8",
"name": "",
"filename": "/usr/share/opencpn/sounds/1bells.wav",
"format": "",
"chunk": false,
"x": 585.9479522705078,
"y": 865.2535095214844,
"wires": [
[
"aa7ef48e.cf20a8"
]
]
}
]