Received: from PCH.mit.edu (18.7.21.50) by mail.efplus.com (192.168.0.8) with Microsoft SMTP Server (TLS) id 8.3.485.1; Tue, 6 Oct 2020 12:36:04 -0700 Received: from PCH.MIT.EDU (localhost.localdomain [127.0.0.1]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 096JRN9D032639; Tue, 6 Oct 2020 15:27:32 -0400 Received: from outgoing-exchange-1.mit.edu (OUTGOING-EXCHANGE-1.MIT.EDU [18.9.28.15]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 096JRMAM032636 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 6 Oct 2020 15:27:23 -0400 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-1.mit.edu (8.14.7/8.12.4) with ESMTP id 096JRIHA016728 for ; Tue, 6 Oct 2020 15:27:22 -0400 Received: from w92expo21.exchange.mit.edu (18.7.74.75) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 6 Oct 2020 15:26:22 -0400 Received: from oc11exhyb8.exchange.mit.edu (18.9.1.113) by w92expo21.exchange.mit.edu (18.7.74.75) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Tue, 6 Oct 2020 15:27:13 -0400 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.177) by oc11exhyb8.exchange.mit.edu (18.9.1.113) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 6 Oct 2020 15:27:13 -0400 Received: from MWHPR07CA0018.namprd07.prod.outlook.com (2603:10b6:300:116::28) by BN6PR0101MB3060.prod.exchangelabs.com (2603:10b6:405:31::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.42; Tue, 6 Oct 2020 19:27:12 +0000 Received: from CO1NAM03FT008.eop-NAM03.prod.protection.outlook.com (2603:10b6:300:116:cafe::df) by MWHPR07CA0018.outlook.office365.com (2603:10b6:300:116::28) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.20 via Frontend Transport; Tue, 6 Oct 2020 19:27:11 +0000 Received: from mail-ed1-f44.google.com (209.85.208.44) by CO1NAM03FT008.mail.protection.outlook.com (10.152.80.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.34 via Frontend Transport; Tue, 6 Oct 2020 19:27:11 +0000 Received: by mail-ed1-f44.google.com with SMTP id g4so14822342edk.0 for ; Tue, 06 Oct 2020 12:27:11 -0700 (PDT) From: Richard Prosser To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Tue, 6 Oct 2020 12:26:58 -0700 Subject: Re: [EE] Looking for technique to record audio after level exceeds some value Thread-Topic: [EE] Looking for technique to record audio after level exceeds some value Thread-Index: AdacF+6tGyJc/jAbSSauTBihZMY98Q== Message-ID: References: List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US X-MS-Exchange-Organization-AuthAs: Anonymous X-MS-Exchange-Organization-AuthSource: TS500.efplus4.local X-MS-Has-Attach: X-Auto-Response-Suppress: All X-MS-Exchange-Organization-SenderIdResult: TempError X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of gmail.com designates 209.85.208.44 as permitted sender) receiver=protection.outlook.com; client-ip=209.85.208.44; helo=mail-ed1-f44.google.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=rSunPEh7ZeMHejMJq+2TKOGA1inQy3go5zRQ+dLsCgw=; b=IX49R5FyRYtSmL+7oySM1QMiQ1L7dF6kmsrY04kPMEDFiDLR65RXGaRK38KT80q8Dr 00nThU0JxNNMS0a+Jn4Fkb8yIiV30qHfBSuezcaL/L0EG7wp7N8sihrh5VR958S4Obag T/FJkYRjOOCuzLKOfTk0CSNT2DwpntpVrD92UK/e4MekkYLRzbkQm871Uje9cE6bVxV6 xgbsmOPBI4yX7pJKSS3KtfMnI+xSRQfWP3NonDyBE6HP7wKqI6st2dt0bmBOEMcY9l3K a+yeBSiZxZYVIZwV/IjDjoIb/8Q1kWrfiXX8pKHXX8/eNwjcInW9KqyUH7ZqGQczvMCu FDeA== authentication-results: spf=pass (sender IP is 209.85.208.44) smtp.mailfrom=gmail.com; mit.edu; dkim=pass (signature was verified) header.d=gmail.com; mit.edu; dmarc=pass action=none header.from=gmail.com; errors-to: piclist-bounces@mit.edu list-id: "Microcontroller discussion list - Public." list-post: x-beenthere: piclist@mit.edu x-mailman-version: 2.1.6 x-received: by 2002:aa7:ccc8:: with SMTP id y8mr7453701edt.325.1602012429475; Tue, 06 Oct 2020 12:27:09 -0700 (PDT) x-topics: [EE] x-content-filtered-by: Mailman/MimeDel 2.1.6 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 There's an app called "SnoreLab" that does that sort of thing for snoring - not sure if it would work in your application as it seems to filter non snore noises. Or try one of the webcam apps (ipwebcam ?) , some of them will trigger on noise or movement & play back a few seconds before & after the event. With an old cellphone, you may be able to capture the flash. RP On Wed, 7 Oct 2020 at 08:18, Dwayne Reid wrote: > Good day to all. > > I have a peculiar problem and I am hoping there is an off-the-shelf > solution. > > It is approaching winter in Canada, which means that heating season > is about to be on us. One of the roof-top HVAC boxes on our building > appears to have a gas ignition problem. I hear explosions both quiet > and loud when the heater turns on. > > This is obviously a gas ignition problem and we have called the > service people a couple of times to get this fixed before the heat > exchanger becomes damaged. Specifically, what I think is that the > fuel gas (Natural Gas) is accumulating in some area away from the > ignitor, reaching some level higher than the Lower Explosive Level, > then some traces of the fuel reaching the ignitor. > > But the service people can't see any problem and they are questioning > whether I am just imagining the problem. > > What I would like to do is to set up one of my spare Android devices > with the microphone in the heating duct. But I need some way to have > the device record just of few seconds BEFORE the explosion occurs as > well as a few seconds AFTER the explosion occurs. > > Kind of like how pre-trigger works with a DSO. > > I've been looking but have not yet found an app that does this. I'm > hoping that someone here might have a suggestion. > > Note that I'm not married to the idea of using an Android device - > just that's what I have handy. I could also set up a laptop or > netbook running Windows or DOS if I can find an appropriate application. > > I do have a fair amount of audio equipment here - mixers, preamps of > various types, microphones ranging from really inexpensive to stupid > expensive, audio recorders of various types. > > Problem is that none of the audio recorders that I have (DAT, SD-card > based, Compact Flash based, etc) have the capability to continuously > record a buffer, then capture several seconds before and after the > loud sound occurs. > > Individual files with time stamps would also be desirable. > > IBM compatible Shareware or paid Android app is just fine. > > Suggestions gratefully accepted. > > dwayne > > -- > Dwayne Reid > Trinity Electronics Systems Ltd Edmonton, AB, CANADA > 780-489-3199 voice 780-487-6397 fax 888-489-3199 Toll Free > www.trinity-electronics.com > Custom Electronics Design and Manufacturing > > -- > http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > --=20 http://www.piclist.com/techref/piclist PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .