How can i use the microphone that directly connect with raspberry? Because i am do my project by using my laptop that open using browser... like below
So, it will directly using the microphone in my laptop to receive my voice when press the microphone
node... now i want use the earphone's mic that directly connect to raspberry pi? how i need do?
the earphone is connect on audio jeck on raspberry pi
I don't think the pi has a mic input, however with an usb or bluetooth microphone and this node it should work.
node-red-contrib-micropi
if using ReSpeaker 2-Mics Pi HAT also cannot?
The solution is in progress here:
Yes because the watson stt node expects a single wav buffer object but straight from the mic node you get raw pcm audio chunks as a stream of buffers. So you need to join the buffers and add wav headers to it. You will need to install https://flows.nodered.org/node/node-red-contrib-wav in nodered.
Than import this flow:
[{"id":"c4303dc0.528f58","type":"Mic","z":"20693e98.c7fb2a","name":"","outputPayloadType":"buffer","endian":"little","bitwidth":"16","encoding":"signed-integer","channels":"1",…
system
Closed
27 July 2020 15:32
6
This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.