From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Peter P." Newsgroups: gmane.comp.audio.sox Subject: Re: merging mono files Date: Thu, 8 Dec 2016 01:07:02 +0100 Message-ID: <20161208000702.5lguodmrnv322tdi@fastmail.com> References: <20161207210754.6rliezfgvdzgzco3@fastmail.com> Reply-To: sox-users@lists.sourceforge.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1481154937 14981 195.159.176.226 (7 Dec 2016 23:55:37 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2016 23:55:37 +0000 (UTC) To: sox-users@lists.sourceforge.net Original-X-From: sox-users-bounces@lists.sourceforge.net Thu Dec 08 00:55:33 2016 Return-path: Envelope-to: gcas-sox-users@gmane.org Received-SPF: pass (sog-mx-1.v43.ch3.sourceforge.com: domain of fastmail.com designates 66.111.4.28 as permitted sender) client-ip=66.111.4.28; envelope-from=peterparker@fastmail.com; helo=out4-smtp.messagingengine.com; X-ME-Sender: X-Sasl-enc: jH332vs97BrXKw8RBbj/GW+MgvstEtslVxEbitqIUOTQ 1481154905 Content-Disposition: inline In-Reply-To: X-Headers-End: 1cEm3L-0007gV-17 X-BeenThere: sox-users@lists.sourceforge.net X-Mailman-Version: 2.1.9 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: sox-users-bounces@lists.sourceforge.net Xref: news.gmane.org gmane.comp.audio.sox:6330 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEm3e-0002s5-MV for gcas-sox-users@gmane.org; Thu, 08 Dec 2016 00:55:30 +0100 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.76) (envelope-from ) id 1cEm3O-0003of-Fo; Wed, 07 Dec 2016 23:55:14 +0000 Received: from sog-mx-1.v43.ch3.sourceforge.com ([172.29.43.191] helo=mx.sourceforge.net) by sfs-ml-4.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cEm3M-0003oa-Sj for sox-users@lists.sourceforge.net; Wed, 07 Dec 2016 23:55:12 +0000 Received: from out4-smtp.messagingengine.com ([66.111.4.28]) by sog-mx-1.v43.ch3.sourceforge.com with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) id 1cEm3L-0007gV-17 for sox-users@lists.sourceforge.net; Wed, 07 Dec 2016 23:55:12 +0000 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id B08C920C52 for ; Wed, 7 Dec 2016 18:55:05 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute4.internal (MEProxy); Wed, 07 Dec 2016 18:55:05 -0500 Received: from localhost (vra-173-127.tu-graz.ac.at [129.27.173.127]) by mail.messagingengine.com (Postfix) with ESMTPA id 4E3807E8C2 for ; Wed, 7 Dec 2016 18:55:05 -0500 (EST) * Dr. Mark Bugeja MD [2016-12-07 22:08]: > Hi Peter, > > Thanks for your reply. Been there, done that. I figured out how to open cmd > prompt and set the path. And I hope you can try simple sox examples such as sox input.wav output.wav reverb etc. > What I now wish to know is what "code" do I put into a .txt file which I > would then change to .bat in order to achieve what I need to achieve? I am afraid I can not be of great help here, as I am on Linux where you would do it with something like for a in dir1/*.wav; do sox -M dir1/"$a" dir2/"$a" dir3/"$a"; done (though this is untested and might not even be the precise syntax that would work on Linux) In the above example it is assumed that all left-channel files are in directory dir1, the right channels in dir2 and that an output directory dir3 exists. Now I don't know how that is done in the windows command window, but you might search ixquick.com for "dos run command on all files in directory" which in my case yields something like https://stackoverflow.com/questions/180741/how-to-do-something-to-each-file-in-a-directory-with-a-batch-script https://stackoverflow.com/questions/14237548/batch-script-run-command-on-each-file-in-directory etc. and work on from there. Or some windows users from this list might be able to help out. cheers, P ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/xeonphi