peler
Posts: 1
Joined: Mon May 13, 2019 6:37 pm

Record audio Line-In when sound detect - request

Mon May 13, 2019 6:54 pm

Good evening,
I apologize for my English, I have a RaspBerry PI 3 + and I should record the audio from the microphone / line-in when I detect a sound, save it, analyze it with SoX and then perform some functions.
The problem is that I can't start automatic recording, I tried to use pyaudio, but it always returns error overflow.
Can someone help me?

Thank you

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

Re: Record audio Line-In when sound detect - request

Tue May 14, 2019 5:20 am

peler wrote:
Mon May 13, 2019 6:54 pm
Good evening,
I apologize for my English, I have a RaspBerry PI 3 + and I should record the audio from the microphone / line-in when I detect a sound, save it, analyze it with SoX and then perform some functions.
The problem is that I can't start automatic recording, I tried to use pyaudio, but it always returns error overflow.
Can someone help me?

Thank you

The Raspberry Pi does not have microphone / line-in input !
adieu

My other Computer is an Asus CS10 ChromeBit running Chrome Operating System.
HP Envy 4500 Wireless Printer supported by HPLIP software in Raspbian Stretch.

User avatar
rpdom
Posts: 14116
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Record audio Line-In when sound detect - request

Tue May 14, 2019 9:03 am

To have microphone input you would need to add something like a USB soundcard module.
Signature is on holiday.

Return to “Graphics, sound and multimedia”