From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on dcvr.yhbt.net X-Spam-Level: X-Spam-ASN: AS3561 216.34.176.0/20 X-Spam-Status: No, score=-1.2 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,RCVD_IN_DNSWL_HI,RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,RP_MATCHES_RCVD,SPF_HELO_PASS,SPF_PASS,T_DKIM_INVALID shortcircuit=no autolearn=ham autolearn_force=no version=3.4.0 Received: from lists.sourceforge.net (lists.sourceforge.net [216.34.181.88]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dcvr.yhbt.net (Postfix) with ESMTPS id 5D002208DB for ; Fri, 25 Aug 2017 17:52:38 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=sfs-ml-4.v29.ch3.sourceforge.com) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.89) (envelope-from ) id 1dlIma-0007P0-W0; Fri, 25 Aug 2017 17:52:36 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtps (TLSv1:DHE-RSA-AES256-SHA:256) (Exim 4.89) (envelope-from ) id 1dlImZ-0007Os-Fy for sox-users@lists.sourceforge.net; Fri, 25 Aug 2017 17:52:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=MIME-Version:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:To:From; bh=gu9qWRKpFs+jkhTHD3aH3cVWP4EOA4COVY34NR23lAo=; b=gDYr8dYmvjm4X1188izrqJSD62hvnANkU1PlU3261VPTYg46nIPDRkjuv3Gonyk7WEPpqwPxqS4nY6iC7AbcuJ6oVqvlFOwwPAQgo0G/eiUpIQH+w23CRTI9/gVa6L7KQlsYNVlYchEQMjaxvDXJUz2WHY1qdy3gAHycs9Yvd7A=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x; h=MIME-Version:Content-Type:In-Reply-To:References:Message-ID:Date:Subject:To:From; bh=gu9qWRKpFs+jkhTHD3aH3cVWP4EOA4COVY34NR23lAo=; b=Xo5njlW3WM0OkAYxLu7MGKbmE7fJfOQ1Rj7FT1Fr+/fws9jut5S2r3rbOjgq3ztvHlw7OpofFjSXGpo1BCw3Z1p2FdYnkB9UD8X68S0+t6eaogk8UwK7yveea5/tR2o6IFPyzIUonrzOVHDyzuYztYuSG2+bZD3JcC0tQioV1Js=; Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of ldc.upenn.edu designates 207.46.163.56 as permitted sender) client-ip=207.46.163.56; envelope-from=graff@ldc.upenn.edu; helo=NAM02-CY1-obe.outbound.protection.outlook.com; Received: from mail-cys01nam02lp0056.outbound.protection.outlook.com ([207.46.163.56] helo=NAM02-CY1-obe.outbound.protection.outlook.com) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1dlImX-0008Ev-PW for sox-users@lists.sourceforge.net; Fri, 25 Aug 2017 17:52:35 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=PennO365.onmicrosoft.com; s=selector1-PennO365-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=gu9qWRKpFs+jkhTHD3aH3cVWP4EOA4COVY34NR23lAo=; b=S4Aisa21HcE2HiO8/zOUz3m1vpsvlFhuvr3/etXwM3cl1LJc9VyhAW3w7iCNRjtMbRpQNUPxe/qcOSiRUdj1VyCAMYe7q/xtWzBOozJkAW8s20iD9wIRGa1nqVL0iSHPTeEJreeeH1Wf7aE0RxbJ0kkrFAAZ4UGUJbzks0buUHw= Received: from DM5PR10MB1978.namprd10.prod.outlook.com (10.175.90.17) by DM5PR10MB1834.namprd10.prod.outlook.com (10.175.87.141) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1362.18; Fri, 25 Aug 2017 17:20:05 +0000 Received: from DM5PR10MB1978.namprd10.prod.outlook.com ([10.175.90.17]) by DM5PR10MB1978.namprd10.prod.outlook.com ([10.175.90.17]) with mapi id 15.01.1362.019; Fri, 25 Aug 2017 17:20:05 +0000 From: "Graff, David E" To: Eyob Yirdaw , "sox-users@lists.sourceforge.net" Thread-Topic: [SoX-users] Recording in chunks using sox Thread-Index: AQHTHcTPTWiFv5xdDEapacK9aoCTuKKVT7HZ Date: Fri, 25 Aug 2017 17:20:05 +0000 Message-ID: References: <790552421.2332795.1503680652651.ref@mail.yahoo.com>, <790552421.2332795.1503680652651@mail.yahoo.com> In-Reply-To: <790552421.2332795.1503680652651@mail.yahoo.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=graff@ldc.upenn.edu; x-originating-ip: [128.91.252.219] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DM5PR10MB1834; 6:cSXazvVljI6Np/PCc57qXiQkaFm5GE7afOuoIQnowtWOhjxfdtybATb934xdxoIg/3EZkAAHamMjVCdWoMoL/BD16S+RttdkBcE1+Dhghofnw/NphZ6PYzQV/P88wSzRNMo0UosExAJOcjlSfaIaFRlaiHB30EbaZuvO9s666oBiH6pLpraTRij2IcyHRNiMn+bl155ylpCudG7xU6O21PtKQ+Oywb98p3U/Ccf38XPTU5WfdWvFmIZgH8EBmfY2hL6jpxIH3/Bo3TxqtkBQVfanH8rQIlRGJ9haFXVJgjUsA2xzCL+1RnhMLK0jynEOsVIUm85fpn7uQ7l5F4LfjQ==; 5:1dF1URkEykb16svi/IIqc671SNPr3o0ucwLV8q1HCwWSm5LuZRwaBjhMdrmdSYeB/D2sgkzlhr75YIH6UwqLvPjVOdWcQ8sbW3+i8b+Dzxo0XjdE79tfJNeKF7+Ti3JBGUn8wuW2BZyL+apP+kA6Pg==; 24:zCmnV5dggsw0QPrql0rSb4YrdZ7o3uSSe02dTCfxjHOD6gE+QIOCe1OEoXLr/ZuNQePfw6ed7nA9U9JrBbb3ZUa06WOFCiYg6vZd8n9bZN0=; 7:CWTon2cjGODbrjnNBW1bG4OscevwCmVW9C9Da3hQ1yTNH5vHiloXeU7mWJxq4SwtgqnKg1stsMY+QRvSkH3wmXfRSydWB01/43h20iBeAS+//XG1EXsmg16hI/Nsi3Cx1Ok9v1aj5HhYhkU1Nx10tMAKQMnxDBKsT8kzD4coU4As7GCCIEMfEUZw/893PCmRL4rUzEL5D8LNw53rL4EEJp7IZvGmmeAUZRgmPJfSks8= x-ms-exchange-antispam-srfa-diagnostics: SSOS; x-ms-office365-filtering-correlation-id: e5de349c-6556-40f1-1fba-08d4ebdd8773 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(2017052603199)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DM5PR10MB1834; x-ms-traffictypediagnostic: DM5PR10MB1834: x-exchange-antispam-report-test: UriScan:(143289334528602)(42262312472803); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(8121501046)(5005006)(10201501046)(100000703101)(100105400095)(93006095)(93001095)(3002001)(6041248)(20161123564025)(20161123562025)(201703131423075)(201703031522075)(201702281529075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123560025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DM5PR10MB1834; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DM5PR10MB1834; x-forefront-prvs: 041032FF37 x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(6009001)(189002)(53754006)(377454003)(199003)(6436002)(81166006)(106356001)(66066001)(3660700001)(39060400002)(6506006)(6246003)(97736004)(77096006)(2906002)(105586002)(8676002)(3280700002)(189998001)(75432002)(2900100001)(8936002)(19627405001)(50986999)(68736007)(478600001)(229853002)(54356999)(81156014)(33656002)(42882006)(86362001)(7736002)(88552002)(102836003)(14454004)(55016002)(76176999)(53546010)(101416001)(54896002)(2521001)(2501003)(6116002)(7696004)(74316002)(99286003)(53936002)(3846002)(25786009)(5660300001)(2950100002)(9686003); DIR:OUT; SFP:1102; SCL:1; SRVR:DM5PR10MB1834; H:DM5PR10MB1978.namprd10.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en; received-spf: None (protection.outlook.com: ldc.upenn.edu does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: ldc.upenn.edu X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Aug 2017 17:20:05.8070 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 6c4d949d-b91c-4c45-9aae-66d76443110d X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR10MB1834 X-Headers-End: 1dlImX-0008Ev-PW Subject: Re: Recording in chunks using sox X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: sox-users@lists.sourceforge.net Content-Type: multipart/mixed; boundary="===============2846116316980030416==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============2846116316980030416== Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_DM5PR10MB19782E182E09F24B4DDA45EBF19B0DM5PR10MB1978namp_" --_000_DM5PR10MB19782E182E09F24B4DDA45EBF19B0DM5PR10MB1978namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable My first intuition on this would be to have your continuous a/d process pip= e to some custom process (not sox), which simply takes a binary stream on s= tdin and creates a continuous series of data files on disk of equal length = (e.g. 20 minutes worth of samples, or whatever seems like a good interval),= using some reasonable template pattern for file names. Then, there'd be a separate process (running continuously) that scans for n= ew files at regular intervals, and runs sox on each new file, converting it= from raw to whatever format you want as a final product. Dave Graff ________________________________ From: Eyob Yirdaw via Sox-users Sent: Friday, August 25, 2017 1:04:12 PM To: sox-users@lists.sourceforge.net Cc: Eyob Yirdaw Subject: [SoX-users] Recording in chunks using sox Hi all, I want to record 24/7 transmission of FM radios using DVB-T dongles. I wan= t to direct the input audio from some dongle to sox, eg. something like rtl_fm -f 88.8M -d 0 -M wbfm | sox -r 32k -t s16 - -t ogg device_0.ogg here am using the rtl_fm terminal program. Can sox help me save the continuous FM audio that comes from rtl_fm to be s= aved in some time length chunks, say 10 minute long chunks? It means that sox would write to disc every 10 minutes. Thanks for any help! --_000_DM5PR10MB19782E182E09F24B4DDA45EBF19B0DM5PR10MB1978namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

My first intuition on this would be to have your continuous a/d process = pipe to some custom process (not sox), which simply takes a binary str= eam on stdin and creates a continuous series of data files on disk of equal= length (e.g. 20 minutes worth of samples, or whatever seems like a good interval), using some reasonable template pa= ttern for file names.


Then, there'd be a separate process (running continuously) that scans fo= r new files at regular intervals, and runs sox on each new file, conve= rting it from raw to whatever format you want as a final product.


  Dave Graff


From: Eyob Yirdaw via Sox-u= sers <sox-users@lists.sourceforge.net>
Sent: Friday, August 25, 2017 1:04:12 PM
To: sox-users@lists.sourceforge.net
Cc: Eyob Yirdaw
Subject: [SoX-users] Recording in chunks using sox
 
Hi all,

I want to reco= rd 24/7 transmission of FM radios using DVB-T dongles.  I want to dire= ct the input audio from some dongle to sox, eg. something like

rtl_fm -f 88.8= M -d 0 -M wbfm | sox -r 32k -t s16 - -t ogg device_0.ogg

here am using = the rtl_fm terminal program.

Can sox help m= e save the continuous FM audio that comes from rtl_fm to be saved in some t= ime length chunks, say 10 minute long chunks?
It means that = sox would write to disc every 10 minutes.

Thanks for any= help!
--_000_DM5PR10MB19782E182E09F24B4DDA45EBF19B0DM5PR10MB1978namp_-- --===============2846116316980030416== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot --===============2846116316980030416== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Sox-users mailing list Sox-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sox-users --===============2846116316980030416==--