From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-4.0 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_LOW,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, SPF_PASS shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from lists.sourceforge.net (lists.sourceforge.net [216.105.38.7]) (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 BE2851F55B for ; Tue, 26 May 2020 22:30:31 +0000 (UTC) Received: from [127.0.0.1] (helo=sfs-ml-2.v29.lw.sourceforge.com) by sfs-ml-2.v29.lw.sourceforge.com with esmtp (Exim 4.90_1) (envelope-from ) id 1jdi5Y-0003xz-MN; Tue, 26 May 2020 22:30:24 +0000 Received: from [172.30.20.202] (helo=mx.sourceforge.net) by sfs-ml-2.v29.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jdi5X-0003xY-7p for sox-users@lists.sourceforge.net; Tue, 26 May 2020 22:30:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sourceforge.net; s=x; h=MIME-Version:Content-Type:Message-ID:Date:Subject: To:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gBkTXGjRGXpQ3u3ndP8gf0a5AV8l8bRSpx70SFyCn5M=; b=mOKH3Qz2X5ydxTV6JLrZj2itqw 3aTsbcNjx2Cps1RPylInn366r3mCWbOEYHNz68y1iXCLVtP1snx+YWTTNq+UYCDzUCRp+9uwZpAxH YRzyoI0Y5cNECwnpgdPs+zm5zXzG4cTqcXcJvvl2WHO3lQ8rVH8QcH/XnqmrfQ5bXZIQ=; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=sf.net; s=x ; h=MIME-Version:Content-Type:Message-ID:Date:Subject:To:From:Sender:Reply-To :Cc:Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To: References:List-Id:List-Help:List-Unsubscribe:List-Subscribe:List-Post: List-Owner:List-Archive; bh=gBkTXGjRGXpQ3u3ndP8gf0a5AV8l8bRSpx70SFyCn5M=; b=S 5TNLI+Mhbafnieu6CItXAjohR0XBFjevZl46fl1T9u1/eDJvE2TeaI5mtWJmJQL13aITQnKBzqp6F dYTPUlEJQJhz0yTnPMM9dVry/ILgDJJp+3sXCivbE/pcAl9Ufr0CQW0tSX2c8XRBX8FOYD6EAqaW/ 3zd1fOJ8u3B/OoTU=; Received: from mail-am6eur05olkn2017.outbound.protection.outlook.com ([40.92.91.17] helo=EUR05-AM6-obe.outbound.protection.outlook.com) by sfi-mx-3.v28.lw.sourceforge.com with esmtps (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92.2) id 1jdi5S-00E4rk-OK for sox-users@lists.sourceforge.net; Tue, 26 May 2020 22:30:23 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=dXTZCbOCHcLd0xd58+sktS+ukTFP83CrmmAzijwfVHerTuPo4ukm26KLwuEeG+OttFON+wuXAJb8KsOy0PJqIhR8NUER6UWuqbuhS49+FvO6WGz8R2vxnxxwQbSzkW88MCtQDnai+/Cnf812BP+RNsrV09T9uGTZN4Tpt02VUs8F2rR14rWtnVpNR55wrOA2rShox4qYFsCMjoVS9CobS8P0tb8/uU9StwGAIN/dVo/Y+jBvz1cOehJwEchRK7DR8gMpl0hXBCv6Yjaf0T16Ksn1jJZ1ayRDoK2lDNDMXD/+QYdtVGMoVvOPdUCZyB2ed5FPjx+HM1+BMzR1UolkPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gBkTXGjRGXpQ3u3ndP8gf0a5AV8l8bRSpx70SFyCn5M=; b=PzCeLw67bD0BpDSzl6+sxulEDuSOgp63vCyUAUuu0Ckqtc8MzxTqsCHJpcMzfFmTE5CD3kpJzC7N2kI+ibpAb8JSs9K/UeGLkTFONh7JqzA87Ov5qIQzj8zMcpEaPIdf6O0V5dRpI3qK/9j7vAu240eHqgZoaR4V5UzGuu49gQgZ0kpt8rebHA0m8Le46TDztiSG5akqmBo2g6m9yz9HO/7g6aoibi2wwAXh9Su+yNzl9rO8EjzQBoPSGllQeKkCfi17l5z8LadHlfEoK3tq7OvHhhvIErRJpgCOnTfMHU0Pf1k0xPcPkqOPB0obgO/Vu82ah7kdq7mkLv9ttUGCYw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gBkTXGjRGXpQ3u3ndP8gf0a5AV8l8bRSpx70SFyCn5M=; b=RBDXz0etxAK6Y/XQ4hXjXGRioqrQNO3gTHOUFs7gg/JDQLdo8oPnhDn+sWTXJtg0VjIw4xJpA3avVEfDUCheUcZq1d5Kw/pTrZWA1x7LB5HnbFiBrOpvf1KZmcif2pqSypqTRYzjQyiwRD4Rli6vu2G8YC610bLdZt3VAIYLU0d+jYYXJzoFqQ8/CEYIeCd7YjC3W+bd/baXQjF6tT4WbcfL+UKULektGvb/APg7aF5jQ03dq5UhHog17lI7NMkJe4QQvCnrS8Q5mir45y5f4KrExlMYKI3mitNNtAQov4uX5KMoVJcQuvmDIXRrfi9gBFxJpYR4AmcgtzQ3Vgbxlg== Received: from VI1EUR05FT064.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::52) by VI1EUR05HT120.eop-eur05.prod.protection.outlook.com (2a01:111:e400:fc12::167) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23; Tue, 26 May 2020 22:30:02 +0000 Received: from HE1PR0102MB3225.eurprd01.prod.exchangelabs.com (2a01:111:e400:fc12::52) by VI1EUR05FT064.mail.protection.outlook.com (2a01:111:e400:fc12::369) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Tue, 26 May 2020 22:30:02 +0000 Received: from HE1PR0102MB3225.eurprd01.prod.exchangelabs.com ([fe80::6432:698e:9b0b:4689]) by HE1PR0102MB3225.eurprd01.prod.exchangelabs.com ([fe80::6432:698e:9b0b:4689%3]) with mapi id 15.20.3021.029; Tue, 26 May 2020 22:30:01 +0000 From: Nils Wallgren To: " sox-users@lists.sourceforge.net" Thread-Topic: BatchProcessing Files on Windows Thread-Index: AQHWM6uwj7/NdXt6EUCSeQ3IbMcrTQ== Date: Tue, 26 May 2020 22:30:01 +0000 Message-ID: Accept-Language: sv-SE, en-US Content-Language: aa X-MS-Has-Attach: X-MS-TNEF-Correlator: x-incomingtopheadermarker: OriginalChecksum:10C6C6838F5444295F7B03155260AB24AFB182D860F020C3CE586A118044A13C; UpperCasedChecksum:6D425BD152F956F4EA9C14CCC638683F1DAD401ED8D819E79CB4062BBECEE857; SizeAsReceived:6736; Count:42 x-tmn: [5B20JX+CxsBnitrjRfgzPp3L5hIAs3qy] x-ms-publictraffictype: Email x-incomingheadercount: 42 x-eopattributedmessage: 0 x-ms-office365-filtering-correlation-id: fbf4a3de-0c60-4b92-b1ce-08d801c45499 x-ms-traffictypediagnostic: VI1EUR05HT120: x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zvBvoiPdWrOlJgQ59hDwQaQ7aFbGMS2uC1opI34Ti5gQ+OKytCEFfuTJIX8+C9xw9esEIycs5QZUuVuZHIbIiFMsW08b0dNNvXHuFrl4Zbvb4pQmZY7qaKT4OrZQWjQxLgT0llW7iOxMe6IGAs/qi6BYlhqmDzNVPgYn1wSppDhJdhNvBQAUxxP0UyAT49hKOogNDAtNsWE4m+iBMtfzFYEOd5Lzd0JoPg1zNxFxbEZ1pdHWzrAEL+3+ABN4bkSc x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:0; SRV:; IPV:NLI; SFV:NSPM; H:HE1PR0102MB3225.eurprd01.prod.exchangelabs.com; PTR:; CAT:NONE; SFTY:; SFS:; DIR:OUT; SFP:1901; x-ms-exchange-antispam-messagedata: Qf0BJL5BErYpJal1hstVAV0q2z876ZcKzLCzn2aqhnxKvaHKmrDD5w6iuPnOdwT9M9TdCXeQm30y8H9MitWEPDAlTIhKhj7sPmrfP/i0L/PP64lTaqFp1rXBk/BxZorKADmTBTTq4k4L+CNxdwyy6Q== x-ms-exchange-transport-forked: True MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-RMS-PersistedConsumerOrg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-Network-Message-Id: fbf4a3de-0c60-4b92-b1ce-08d801c45499 X-MS-Exchange-CrossTenant-rms-persistedconsumerorg: 00000000-0000-0000-0000-000000000000 X-MS-Exchange-CrossTenant-originalarrivaltime: 26 May 2020 22:30:01.7081 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1EUR05HT120 X-Headers-End: 1jdi5S-00E4rk-OK Subject: BatchProcessing Files on Windows 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="===============5301162686690022031==" Errors-To: sox-users-bounces@lists.sourceforge.net --===============5301162686690022031== Content-Language: aa Content-Type: multipart/alternative; boundary="_000_HE1PR0102MB32255CEB96453C71C3486B87AAB00HE1PR0102MB3225_" --_000_HE1PR0102MB32255CEB96453C71C3486B87AAB00HE1PR0102MB3225_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable I have some problems getting these things to work: 1 I want the duration of a couple of soundfiles in a directory sox --i -D kick_*.wav the name of the sound files are kick_1.wav, kick_2.wav, kick_3.wav etc but it doesn=92t work with the wildcard. 2 If I want to batch process a couple of files in a directory and process/c= onvert them to something else And put the processed files in a new folder, how do I do that? for %i in *.wav do sox "%i" -b 8 "n_%i" .flac (also not sure of the conversion of the files when batching) Best, Sent from Mail for Window= s 10 --_000_HE1PR0102MB32255CEB96453C71C3486B87AAB00HE1PR0102MB3225_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable

I have some problems getting th= ese things to work:

 

1 I want the duration of a coup= le of soundfiles in a directory

 

sox --i -D kick_*.wav

 

the name of the sound files are= kick_1.wav, kick_2.wav, kick_3.wav etc

but it doesn=92t work with the = wildcard.

 

2 If I want to batch process a = couple of files in a directory and process/convert them to something else

And put the processed files in = a new folder, how do I do that?

 

for %i in *.wav do sox "%i= " -b 8  "n_%i" .flac

 

(also not sure of the conversio= n of the files when batching)

 

Best,

 

Sent from Mail for Windows 10

 

--_000_HE1PR0102MB32255CEB96453C71C3486B87AAB00HE1PR0102MB3225_-- --===============5301162686690022031== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline --===============5301162686690022031== 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 --===============5301162686690022031==--