Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #98141
| From | alister <alister.nospam.ware@ntlworld.com> |
|---|---|
| Newsgroups | comp.lang.python |
| Subject | Re: Detection of a specific sound |
| Date | 2015-11-03 08:50 +0000 |
| Organization | Aioe.org NNTP Server |
| Message-ID | <n19sgq$ppu$1@speranza.aioe.org> (permalink) |
| References | <CAPfdVgF1erUtxgKGm9eky_q8X24L88PkFEWyTL4hqUNUvGvrzQ@mail.gmail.com> <mailman.1.1446522557.8789.python-list@python.org> |
On Mon, 02 Nov 2015 20:49:03 -0700, Michael Torrie wrote:
> On 10/25/2015 06:17 PM, Montana Burr wrote:
>> I'm looking for a library that will allow Python to listen for the
>> shriek of a smoke alarm. Once it detects this shriek, it is to notify
>> someone. Ideally, specificity can be adjusted for the user's
>> environment. For example, I expect to need moderate specificity as I
>> live in a quiet neighborhood, but an apartment dweller might need more.
>>
>> I'm thinking of recording a smoke alarm and having the program try to
>> find the recorded sound in the stream from the microphone.
>>
>> Any help is greatly appreciated!
>
> At this point, from what you say, your problem is not a python one. It's
> a more general problem that you have to tackle. In other words how are
> you going to identify this one sound amongst background noise? Once you
> know that, then you can apply Python to the problem.
>
> I suggest you spend some time exploring how you would actually go about
> recognizing a particular sound algorithmically. Relevant tops of
> research include: digital signal processing and fourier analysis.
>
> A quick google search reveals some info that may point you in the right
> direction:
>
> https://blog.adafruit.com/2015/01/12/think-dsp-introduction-to-signal-
processing-using-python/
> http://samcarcagno.altervista.org/blog/basic-sound-processing-python/
>
> I know very little about the subject, but if it were me, my naive
> approach would be to do fourier analysis on the sound you are trying to
> identify to pick out the sound's fingerprint (certain component
> waveforms that stand out), and then do the same analysis on your audio
> stream, looking for this footprint.
Personally I would forget trying to analyse sound & see if there is any
way to get an input signal direct from the alarm (even if that is as
crude as taking a tap from the siren feed wires)
This application sounds far to critical for anything else.
--
______________________________________
/ "Can't you just gesture hypnotically \
| and make him disappear?" |
| |
| "It does not work that way. RUN!" -- |
| Hadji on metaphyics and Mandrake in |
\ "Johnny Quest" /
--------------------------------------
\
\
.--.
|o_o |
|:_/ |
// \ \
(| | )
/'\_ _/`\
\___)=(___/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Re: Detection of a specific sound Michael Torrie <torriem@gmail.com> - 2015-11-02 20:49 -0700
Re: Detection of a specific sound alister <alister.nospam.ware@ntlworld.com> - 2015-11-03 08:50 +0000
Re: Detection of a specific sound Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2015-11-03 09:03 -0500
Re: Detection of a specific sound alister <alister.nospam.ware@ntlworld.com> - 2015-11-03 14:49 +0000
Re: Detection of a specific sound Random832 <random832@fastmail.com> - 2015-11-03 09:57 -0500
csiph-web