Re:Ask HN: What are some interesting projects to reuse your ...
by sleighboy on Tuesday January 28, 2020 @07:09AM
(#22168609)
What software do you use?
[ Parent
| on HN ]
Re:Ask HN: What are some interesting projects to reuse your ...
by mjstone on Tuesday January 28, 2020 @08:08AM
(#22168979)
I hacked together an Android app specifically for the purpose, so it doesn't really answer the original question about generally available projects. (I haven't got round to releasing the code as it's rather bespoke, but could do if you're interested.)
Re:Ask HN: What are some interesting projects to reuse your ...
by sprobertson on Tuesday January 28, 2020 @10:45AM
(#22170400)
I'd be interested in the general technique, "teach a man to listen for beeps..."
Re:Ask HN: What are some interesting projects to reuse your ...
by mjstone on Tuesday January 28, 2020 @11:08AM
(#22170637)
I FFT incoming sound buffers, and if the 2KHz band is the highest for a suitable number of consecutive frames, then I send the email and stop listening for a few minutes to avoid double notifications.
2KHz is the frequency of my machine's beep. Just triggering on overall noise level alone would notify me each time the machine goes into spin, but using the FFT allows it to be more discerning.
(I'll try to publish the code soon.)
Re:Ask HN: What are some interesting projects to reuse your ...
by reaktion on Tuesday January 28, 2020 @01:20PM
(#22172363)
I'd appreciate seeing your code for this - I've intended to write a similar app for listening to an old alarm system I have.
Re:Ask HN: What are some interesting projects to reuse your ...
by mjstone on Tuesday January 28, 2020 @02:55PM
(#22173420)
I've now put it on GitHub: https://github.com/martin-stone/AndroidAudioNotifier
Re:Ask HN: What are some interesting projects to reuse your ...
by sleighboy on Tuesday January 28, 2020 @03:24PM
(#22173677)
Thank you!
Re:Ask HN: What are some interesting projects to reuse your ...
by canada_dry on Tuesday January 28, 2020 @03:19PM
(#22173637)
Thanks for sharing the code.
Perhaps someone (with more patience than I for Android/Kotlin development) can tweak it so that is can listen for knocking on a door to trigger some sort of alert (email/txt/broadcast an intent).
Triggering an intent would be very helpful as then it could then be acted upon by Tasker or Automagic4Android.
Re:Ask HN: What are some interesting projects to reuse your ...
by sandGorgon on Tuesday January 28, 2020 @09:13AM
(#22169508)
this would be very interesting!
Re:Ask HN: What are some interesting projects to reuse your ...
by mjstone on Tuesday January 28, 2020 @02:56PM
(#22173429)
Code is now on GitHub here: https://github.com/martin-stone/AndroidAudioNotifier
Re:Ask HN: What are some interesting projects to reuse your ...
by wting on Tuesday January 28, 2020 @10:48AM
(#22170425)
If you're looking for an off the shelf solution, I turned an old Android phone into a baby monitor for keeping track of crying when I'm on the other side of the house. There's plenty of baby monitoring apps that do anomalous noise detection and raises an alert.