yoey
Posts: 8
Joined: Sat Jan 12, 2019 3:35 pm

Record and play audio input

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?

fruitoftheloom
Posts: 23433
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Record and play audio input

Thu May 16, 2019 11:52 am

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.
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...

yoey
Posts: 8
Joined: Sat Jan 12, 2019 3:35 pm

Re: Record and play audio input

Sun May 19, 2019 1:37 pm

We have a USB mic for that

fruitoftheloom
Posts: 23433
Joined: Tue Mar 25, 2014 12:40 pm
Location: Delightful Dorset

Re: Record and play audio input

Sun May 19, 2019 2:11 pm

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
Rather than negativity think outside the box !
RPi 4B 4GB (SSD Boot) RaspiOS64 ARM64
Asus ChromeBox 3 Celeron is my other computer...


Return to “Graphics, sound and multimedia”