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 16:50:40 -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 096NgClU004564; Tue, 6 Oct 2020 19:42:34 -0400 Received: from outgoing-exchange-3.mit.edu (OUTGOING-EXCHANGE-3.MIT.EDU [18.9.28.13]) by PCH.mit.edu (8.14.7/8.12.8) with ESMTP id 096NgBPT004561 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK) for ; Tue, 6 Oct 2020 19:42:11 -0400 Received: from oc11exedge2.exchange.mit.edu (OC11EXEDGE2.EXCHANGE.MIT.EDU [18.9.3.18]) by outgoing-exchange-3.mit.edu (8.14.7/8.12.4) with ESMTP id 096NgA3C025525 for ; Tue, 6 Oct 2020 19:42:10 -0400 Received: from oc11expo15.exchange.mit.edu (18.9.4.20) by oc11exedge2.exchange.mit.edu (18.9.3.18) with Microsoft SMTP Server (TLS) id 15.0.1293.2; Tue, 6 Oct 2020 19:41:45 -0400 Received: from oc11exhyb3.exchange.mit.edu (18.9.1.99) by oc11expo15.exchange.mit.edu (18.9.4.20) with Microsoft SMTP Server (TLS) id 15.0.1365.1; Tue, 6 Oct 2020 19:42:10 -0400 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.106) by oc11exhyb3.exchange.mit.edu (18.9.1.99) with Microsoft SMTP Server (TLS) id 15.0.1395.4 via Frontend Transport; Tue, 6 Oct 2020 19:42:10 -0400 Received: from DM5PR18CA0092.namprd18.prod.outlook.com (2603:10b6:3:3::30) by BYAPR01MB5589.prod.exchangelabs.com (2603:10b6:a03:126::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3433.39; Tue, 6 Oct 2020 23:42:08 +0000 Received: from DM3NAM03FT032.eop-NAM03.prod.protection.outlook.com (2603:10b6:3:3:cafe::eb) by DM5PR18CA0092.outlook.office365.com (2603:10b6:3:3::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3455.21 via Frontend Transport; Tue, 6 Oct 2020 23:42:08 +0000 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (40.92.42.34) by DM3NAM03FT032.mail.protection.outlook.com (10.152.82.202) 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 23:42:08 +0000 Received: from MW2NAM10FT005.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::40) by MW2NAM10HT171.eop-nam10.prod.protection.outlook.com (2a01:111:e400:7e87::456) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3412.21; Tue, 6 Oct 2020 23:42:06 +0000 Received: from SN6PR02MB4064.namprd02.prod.outlook.com (2a01:111:e400:7e87::4e) by MW2NAM10FT005.mail.protection.outlook.com (2a01:111:e400:7e87::75) 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 23:42:06 +0000 Received: from SN6PR02MB4064.namprd02.prod.outlook.com ([fe80::e9c8:323d:1047:d957]) by SN6PR02MB4064.namprd02.prod.outlook.com ([fe80::e9c8:323d:1047:d957%6]) with mapi id 15.20.3433.044; Tue, 6 Oct 2020 23:42:06 +0000 From: Bob Blick To: Microcontroller discussion list - Public. Sender: "piclist-bounces@mit.edu" Date: Tue, 6 Oct 2020 16:42:05 -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: AQHWnBa67WtkdXsdDkmO0IwCGLWMYqmLOY3Y Message-ID: References: List-Help: List-Subscribe: , List-Unsubscribe: , In-Reply-To: Reply-To: Microcontroller discussion list - Public. Accept-Language: en-US Content-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: acceptlanguage: en-US received-spf: Pass (protection.outlook.com: domain of outlook.com designates 40.92.42.34 as permitted sender) receiver=protection.outlook.com; client-ip=40.92.42.34; helo=NAM10-MW2-obe.outbound.protection.outlook.com; dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=outlook.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=XudbcqCDEydd44DrPMONP9HqWNeVySyTs7Lh5l6QyI4=; b=q8Xtf4SS8IQbcOGfEC943mN78L2U+LsTJLrShCqZxF9f5E1wmk9/DdQlHdv037EbGhNg+7DQ4xbwfcIqRJ+lAUjMvHHV5Xm0YnFJs/vA5Cx9A7zxbweEIZghXAWDHr4ShJnc6ecvHR0Yyb4asnp4BfTs+VDFpoqfQzN9Dx7cNuCHxqUqNnkU+a7CxpNXTTSB7AEpSLEHP3NY3rlQzQWClazFCBDIRahqcRwO/78mw8gd4utNbBVghTFmab0UOiydAjFK7tFMYsl4eCg7KvnaqOI+ompV4iRqcfydClRsf6VTxz+Kz0K7pCPAHExXqUo9UCmqz3IwqPYe4zwg2Jw/aQ== authentication-results: spf=pass (sender IP is 40.92.42.34) smtp.mailfrom=outlook.com; mit.edu; dkim=pass (signature was verified) header.d=outlook.com; mit.edu; dmarc=pass action=none header.from=outlook.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-topics: [EE] x-mime-autoconverted: from quoted-printable to 8bit by PCH.mit.edu id 096NgBPT004561 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Hi Dwayne, I don't know about an Android app, but if I was trying to do the task, I'd = use a Wyze Cam, which I already have several of. It records a 12 second cli= p each time an event happens, sound and video. You can use audio level as a= n event. The recordings appear to be centered somewhere on the event, so yo= u should get the full thing. If you put an SD card in the camera it also wi= ll record 24 hours a day, and the little clips you get have a time stamp so= you can find the needle in the SD card haystack, should you desire. Even w= ithout an SD card it is quite useful, although it only stores 14 days of cl= ips, maximum 1 per minute. "in the cloud". $19.99 US plus shipping, comes with magnetic mount. Friendly regards, Bob ________________________________________ From: piclist-bounces@mit.edu on behalf of Dwayne= Reid=20 Sent: Tuesday, October 6, 2020 12:18 PM To: pic microcontroller discussion list Subject: [EE] Looking for technique to record audio after level exceeds som= e value 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 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 --=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 .