I was trying to do it the way that is described in
http://thomer.com/howtos/detect_sound.html, which basically creates
short samples of what is played through the sound card, analyses their
voulme with sox and make the Raspi do sth. (e.g. shutdown) when the
volume level drops below certain value. But I wasn't able to solve the
Code:
--------------------
ALSA lib pcm_dsnoop.c:618:(snd_pcm_dsnoop_open) unable to open slave
arecord: main:788: audio open error: Device or resource busy
--------------------
problem. Everything else worked perfectly, i.e. creating the wave
samples, sox analysis etc., shutdown when no sound is detected in the
sample - but only when Liquidsoap wasn't running at the same time.
So I parked the project and opted for a hardware solution
(button/switch). Hoping of course that sb. with better Linux skills and
similar interests would do the job ;)
PCP (always latest version) on RasPi 3 with PhatDac (player & server)
PCP on several RasPis 2 +3
2 Airplay speakers (Sony SA-NS510) integrated via Airplay Bridge Plugin
------------------------------------------------------------------------
streampunk's Profile: http://forums.slimdevices.com/member.php?userid=66210
View this thread: http://forums.slimdevices.com/showthread.php?t=49584
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins