-2

i want to setup a microphone to raspberry pi and record a audio signal for 5 sec when baby starts cry. how the setup should be done? the microphone should record when baby starts crying.

  • What has your research turned up? There are several pre-existing examples of Pi based baby monitors. – Steve Robillard Mar 14 '18 at 10:04
  • when baby starts crying the microphone should record and detect baby cry with machine learning model and send a SMS using GSM module '' baby is crying text message". – Prashanth Kolaneru Mar 15 '18 at 8:07
-2

if it was up to me, I would do as follow : record continuously using node.js (or C + Alsa API), and analyze the pcm data on the run, when the data is above average (noise) then you'll record it on a file or whatsoever. If I can improve your system a bit, once you'll be at this stage, send a sms/mail/whatever to your phone. After that improve your set up with a node.js server, so that once you got the notification, you can get to your server via a web interface and hear you baby crying. You can even add a webcam, and you'll end up with several hundred $ system.

Not the answer you're looking for? Browse other questions tagged or ask your own question.