Can anybody tell me if it's possible to play the sound received from a USB microphone attached to a Raspberry PI and play it through the Dashboard UI? I have tried several microphone and play sound node combinations, where .wav files are recorded and replayed but no sound has been received?
All seems to be working, but the bit I'm confused about is how to deliver the sound through to Dashboard. I have put a template on to try and deliver to my intended endpoint group.
Are you connecting to NR using a browser on the Pi or on another machine?
What node are you using to play the audio?
What version of NR?
What version of Node.js?
What browser?
Still no joy though. Nodes are as above. I am a little confused as to how the usb port for the microphone is assigned as the first node doesn't seem to require this information and I am getting no sound out when I go from my phone to the assigned group.
I used their example flow and on the "micropi" node, if I browse to the http://localhost:1880/getAudio url it will immediately download a wav file which I have played on my windows pc using VLC. So I assume the deom.wav file is working ok. However, I want it to buffer the sound through the dashboard ui.
Thats just a file in node (from Node-RED v 0.19) to read a test wav file I had on my pc - set to output contents as a single buffer. You may not need it if you are already getting a wav buffer direct from the mic
Ok, looks different on your node red version. Set up as stated and I get no sound what-so-ever. I've tried the absolute path - home/pi/audio/demo.wav and audio/demo.wav to no avail. I've looked at the demo.wav file and it hasn't been updated for sometime.