Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #98119

Re: Detection of a specific sound

Path csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From Lorenzo Sutton <lorenzofsutton@gmail.com>
Newsgroups comp.lang.python
Subject Re: Detection of a specific sound
Date Tue, 3 Nov 2015 00:29:51 +0100
Lines 26
Message-ID <mailman.75.1446507000.4463.python-list@python.org> (permalink)
References <CAPfdVgF1erUtxgKGm9eky_q8X24L88PkFEWyTL4hqUNUvGvrzQ@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding 7bit
X-Trace news.uni-berlin.de kKUXFlULyw434I/FZUzvFwoe+S637Bt3CbMHkWSee9yw==
Return-Path <lorenzofsutton@gmail.com>
X-Original-To python-list@python.org
Delivered-To python-list@mail.python.org
X-Spam-Status OK 0.026
X-Spam-Evidence '*H*': 0.95; '*S*': 0.00; 'one?': 0.05; 'python': 0.10; 'assume': 0.11; '"python': 0.16; 'adjusted': 0.16; 'alarm': 0.16; 'appreciated!': 0.16; 'detects': 0.16; 'ideally,': 0.16; 'microphone': 0.16; 'question)': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'wrote:': 0.16; 'library': 0.20; "user's": 0.22; 'header:In-Reply-To:1': 0.24; 'header:User- Agent:1': 0.26; 'connected': 0.27; 'helpful': 0.27; '(e.g.': 0.27; 'quiet': 0.29; 'recorded': 0.29; 'running.': 0.29; 'received:209.85.212': 0.29; "i'm": 0.30; 'stream': 0.33; 'message-id:@gmail.com': 0.34; 'received:google.com': 0.35; 'could': 0.35; 'but': 0.36; 'should': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'expect': 0.37; 'setting': 0.37; 'say': 0.37; 'environment.': 0.37; 'received:209': 0.38; 'mean': 0.38; 'received:192': 0.39; 'to:addr:python.org': 0.40; 'where': 0.40; 'your': 0.60; 'charset:windows-1252': 0.62; 'skip:n 10': 0.62; 'more': 0.63; 'more.': 0.63; 'detail.': 0.66; 'sound': 0.72; 'microphone.': 0.84; 'smoke': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-type:content-transfer-encoding; bh=b1r6iESnefvs365/L4BNNbn3UmF/4Plmb/nabdFUfKE=; b=MW3HkUMW0yNexL6eAqcA2Z7NlOMiiJDSjn1Br8IjduiXrquIDpQXUj/FXI5r/UUEuF 1xXLOKZRe+hjJBDD4nqYa7jLhfFZPmn6/R1h3u3/oXks82ReRsSzx9qw3R7Vsd3ZlbaW 24zMWL6RwU76WmXmmKbd2vumKQPVLFnH6RXhi+PSGr4cvkrDzWt8nysaizmc+aaMj+pt /SA3xKqmOCvvYv0hDNt+knZDlg1bMDfcR6E6RlJewb2dRHVtsxnS08Bra/FSUUrCZgrP c+9/D+iNUlCkTxV2QWxSU+Ja2BlFPyoAxJi91hR0T+ha1O8t7Bm187JqiUlrmP2ktBIw K/Eg==
X-Received by 10.194.104.132 with SMTP id ge4mr25090531wjb.127.1446506993327; Mon, 02 Nov 2015 15:29:53 -0800 (PST)
User-Agent Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0
In-Reply-To <CAPfdVgF1erUtxgKGm9eky_q8X24L88PkFEWyTL4hqUNUvGvrzQ@mail.gmail.com>
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.20+
Precedence list
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Xref csiph.com comp.lang.python:98119

Show key headers only | View raw


On 26/10/15 01:17, 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!
>

It would really be helpful if you could explain the (hardware) setting 
in more detail.
When you say "Python to listen" I assume you mean a microphone connected 
to a computer where your python programme will be running.

How many smoke allarms and in what radius should be detected? Or is it 
only a specific one?

This could range from a simple programme triggered by an amplitude 
change (e.g. a piezo attached to the single alarm in question) to a 
complex audio fingerprinting one...

Lorenzo.

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Detection of a specific sound Lorenzo Sutton <lorenzofsutton@gmail.com> - 2015-11-03 00:29 +0100

csiph-web