Page 1 of 1

Record and play audio input

Posted: Thu May 16, 2019 11:51 am
by yoey
I will be doing an experiment where people can press a button and then say a command. I'll be in another room and answer their request. It is currently planned, that I remotely access the Pi via RealVNC from another room. What I need is, that after they press the button, the Pi starts recording audio input and I'll can listen to it while they speak. Is there already software that does that or do I have to write the script myself with Python using pyaudio or arecord?

Re: Record and play audio input

Posted: Thu May 16, 2019 11:52 am
by fruitoftheloom
yoey wrote:
Thu May 16, 2019 11:51 am
I will be doing an experiment where people can press a button and then say a command. I'll be in another room and answer their request. It is currently planned, that I remotely access the Pi via RealVNC from another room. What I need is, that after they press the button, the Pi starts recording audio input and I'll can listen to it while they speak. Is there already software that does that or do I have to write the script myself with Python using pyaudio or arecord?

The Raspberry Pi SBC has no Audio Inputs.

Re: Record and play audio input

Posted: Sun May 19, 2019 1:37 pm
by yoey
We have a USB mic for that

Re: Record and play audio input

Posted: Sun May 19, 2019 2:11 pm
by fruitoftheloom
yoey wrote:
Sun May 19, 2019 1:37 pm
We have a USB mic for that

https://www.realvnc.com/en/connect/docs ... lable.html

Re: Record and play audio input

Posted: Sun May 19, 2019 2:36 pm
by PiGraham