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:27:38 -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 096JIc99031272; Tue, 6 Oct 2020 15:18:45 -0400 Received: from outgoing-exchange-7.mit.edu (OUTGOING-EXCHANGE-7.MIT.EDU [18.9.28.58]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 096JIaGI031269 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 6 Oct 2020 15:18:36 -0400 Received: from oc11exedge1.exchange.mit.edu (OC11EXEDGE1.EXCHANGE.MIT.EDU [18.9.3.17]) by outgoing-exchange-7.mit.edu (8.14.7/8.12.4) with ESMTP id 096JIROA017946 for ; Tue, 6 Oct 2020 15:18:36 -0400 Received: from oc11exhyb4.exchange.mit.edu (18.9.1.100) by oc11exedge1.exchange.mit.edu (18.9.3.17) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 6 Oct 2020 15:17:32 -0400 Received: from oc11exhyb1.exchange.mit.edu (18.9.1.60) by oc11exhyb4.exchange.mit.edu (18.9.1.100) with Microsoft SMTP Server (TLS) id 15.0.1395.4; Tue, 6 Oct 2020 15:18:23 -0400 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.174) by oc11exhyb1.exchange.mit.edu (18.9.1.60) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 6 Oct 2020 15:18:22 -0400 Received: from MW2PR16CA0036.namprd16.prod.outlook.com (2603:10b6:907::49) by MN2PR01MB6079.prod.exchangelabs.com (2603:10b6:208:18d::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.32; Tue, 6 Oct 2020 19:18:21 +0000 Received: from CO1NAM03FT012.eop-NAM03.prod.protection.outlook.com (2603:10b6:907:0:cafe::2e) by MW2PR16CA0036.outlook.office365.com (2603:10b6:907::49) 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:18:20 +0000 Received: from cmta16.telus.net (209.171.16.89) by CO1NAM03FT012.mail.protection.outlook.com (10.152.80.99) 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:18:20 +0000 Received: from DAR5.planet.eon.net ([142.59.122.93]) by cmsmtp with SMTP id PsTZkZlMSjZ98PsTakXDoc; Tue, 06 Oct 2020 13:18:19 -0600 From: Dwayne Reid To: pic microcontroller discussion list Sender: "piclist-bounces@mit.edu" Date: Tue, 6 Oct 2020 12:18:14 -0700 Subject: [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: AdacFsCdehe2qOtTTEWbv0R2HG7MdA== Message-ID: List-Help: List-Subscribe: , List-Unsubscribe: , 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: Pass X-MS-Exchange-Organization-PRD: mit.edu X-MS-TNEF-Correlator: received-spf: Pass (protection.outlook.com: domain of planet.eon.net designates 209.171.16.89 as permitted sender) receiver=protection.outlook.com; client-ip=209.171.16.89; helo=cmta16.telus.net; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mitprod.onmicrosoft.com; s=selector2-mitprod-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=S1o6ePhjwWkVJvADzRdboizHuHmPq00DJwGlBz3a3kw=; b=bMwMFCrC+xJ2GoheQ2FJoBKfYQRx/sEhimJNJdGwnx2/0NilZPmsAoPqpGLtHDutMgAgY15xcXIx3EP91Yyoq3uLE7xJyOnQOiY+Ynp0U0FyDnSVxTL5Cz1VTpxg80rXYtbQpXjzSCLQmwQJVsXF2/AQyw+ESE4m617Ub3TU+qA= authentication-results: spf=pass (sender IP is 209.171.16.89) smtp.mailfrom=planet.eon.net; mit.edu; dkim=none (message not signed) header.d=none;mit.edu; dmarc=bestguesspass action=none header.from=planet.eon.net; 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-authority-analysis: v=2.4 cv=RrsAkAqK c=1 sm=1 tr=0 ts=5f7cc2fb a=Dd/bvHhForHuZnb7ytaWSQ==:117 a=Dd/bvHhForHuZnb7ytaWSQ==:17 a=HpEJnUlJZJkA:10 a=kj9zAlcOel0A:10 a=D1QUtfyEAAAA:8 a=WVHiL177AAAA:8 a=oWYAf-OhQG-gOLt3tYYA:9 a=CjuIK1q_8ugA:10 a=iZdX4GlK_F8A:10 a=SxPZiMLqSpAA:10 a=n1uYnq2louoA:10 a=_yt5nuqSr3Ff_nZNByN4:22 a=zz8lhgAq7brTZQd0Oeqi:22 a=pHzHmUro8NiASowvMSCR:22 a=Ew2E2A-JSTLzCXPT_086:22 x-topics: [EE] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Good day to all. I have a peculiar problem and I am hoping there is an off-the-shelf solutio= n. It is approaching winter in Canada, which means that heating season=20 is about to be on us. One of the roof-top HVAC boxes on our building=20 appears to have a gas ignition problem. I hear explosions both quiet=20 and loud when the heater turns on. This is obviously a gas ignition problem and we have called the=20 service people a couple of times to get this fixed before the heat=20 exchanger becomes damaged. Specifically, what I think is that the=20 fuel gas (Natural Gas) is accumulating in some area away from the=20 ignitor, reaching some level higher than the Lower Explosive Level,=20 then some traces of the fuel reaching the ignitor. But the service people can't see any problem and they are questioning=20 whether I am just imagining the problem. What I would like to do is to set up one of my spare Android devices=20 with the microphone in the heating duct. But I need some way to have=20 the device record just of few seconds BEFORE the explosion occurs as=20 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=20 hoping that someone here might have a suggestion. Note that I'm not married to the idea of using an Android device -=20 just that's what I have handy. I could also set up a laptop or=20 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=20 various types, microphones ranging from really inexpensive to stupid=20 expensive, audio recorders of various types. Problem is that none of the audio recorders that I have (DAT, SD-card=20 based, Compact Flash based, etc) have the capability to continuously=20 record a buffer, then capture several seconds before and after the=20 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 --=20 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 --=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 .