From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: "Dr. Mark Bugeja MD" Newsgroups: gmane.comp.audio.sox Subject: Re: Fwd: Re: merging mono files Date: Sat, 10 Dec 2016 07:42:16 +0100 Message-ID: <698c04f8-7fd6-0b45-ea40-9d90f4b0db9a@gmail.com> References: <11f05ac1-4afa-93d1-7563-67607ebeb066@gmail.com> <20161209135153.GI62092@www.stare.cz> <4b6af234-1113-c87f-57f4-78345f039a23@gmail.com> <43a8dfbd-ea02-c1f1-e18e-393bcff0f43b@eckner.net> <20161209225533.GB91943@www.stare.cz> Reply-To: sox-users@lists.sourceforge.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============4671215292965521609==" X-Trace: blaine.gmane.org 1481352178 7993 195.159.176.226 (10 Dec 2016 06:42:58 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Dec 2016 06:42:58 +0000 (UTC) User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.5.1 To: sox-users@lists.sourceforge.net Original-X-From: sox-users-bounces@lists.sourceforge.net Sat Dec 10 07:42:53 2016 Return-path: Envelope-to: gcas-sox-users@gmane.org Received-SPF: pass (sog-mx-2.v43.ch3.sourceforge.com: domain of gmail.com designates 74.125.82.48 as permitted sender) client-ip=74.125.82.48; envelope-from=marcusfb@gmail.com; helo=mail-wm0-f48.google.com; X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to; bh=afMKhPMlVMlG1uIn/Z1JZBTZbntfNaf1Obkc96tkA3I=; b=NINw7x5CO42aKDL2bEIP1n3Sn0F83oPE/fKqKil70wrSjCxGXfhM60Gr7GVNwH1gAK JZ7goJX/3BmSE5+dFNy7yIj2AxDNFGJe3c5huj7YLWq6FQzZkjKZfQsa6i1IpfGcM79y R7cxayqzeaL/fC5nIShV97HJuG5c9vbhlAy56U9t6DP5iF+XNvGCFjJy6bwnBxxZHLsz 7J7wl7MiJuTlaxtmAosxVfAc2IN3mPvCIomL4MjMtxLeJeHMfTVo37EMLEmaZxwPb0q9 f5cv9nSRrkKWquJxtafA3nmhLCqglEkOSfyN0Gmp5FellWd9F7mw5zUzfiCvf7QrQtlw 2VVQ== X-Gm-Message-State: AKaTC013TszS90n+hd0RQ069XznNOW6+lXEOkQ6SuqzWda/Es8GgeUQN4gIXKu2aEZehzw== X-Received: by 10.28.60.5 with SMTP id j5mr1486820wma.119.1481352149188; Fri, 09 Dec 2016 22:42:29 -0800 (PST) In-Reply-To: <20161209225533.GB91943@www.stare.cz> X-Antivirus: avast! (VPS 161209-1, 09/12/2016), Outbound message X-Antivirus-Status: Clean X-Headers-End: 1cFbMh-0002Rg-HS 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:6406 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cFbMv-0000wP-J0 for gcas-sox-users@gmane.org; Sat, 10 Dec 2016 07:42:49 +0100 Received: from localhost ([127.0.0.1] helo=sfs-ml-2.v29.ch3.sourceforge.com) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cFbMk-0008K3-NQ; Sat, 10 Dec 2016 06:42:38 +0000 Received: from sog-mx-2.v43.ch3.sourceforge.com ([172.29.43.192] helo=mx.sourceforge.net) by sfs-ml-2.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cFbMi-0008Jw-Su for sox-users@lists.sourceforge.net; Sat, 10 Dec 2016 06:42:36 +0000 Received: from mail-wm0-f48.google.com ([74.125.82.48]) by sog-mx-2.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1cFbMh-0002Rg-HS for sox-users@lists.sourceforge.net; Sat, 10 Dec 2016 06:42:36 +0000 Received: by mail-wm0-f48.google.com with SMTP id t79so5872493wmt.0 for ; Fri, 09 Dec 2016 22:42:35 -0800 (PST) Received: from [127.0.0.1] ([195.158.99.83]) by smtp.gmail.com with ESMTPSA id 135sm24258325wmh.14.2016.12.09.22.42.27 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 09 Dec 2016 22:42:28 -0800 (PST) This is a multi-part message in MIME format. --===============4671215292965521609== Content-Type: multipart/alternative; boundary="------------169F292A7D555F2CE7D150DE" This is a multi-part message in MIME format. --------------169F292A7D555F2CE7D150DE Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Thanks for that reply. Would that code, reproduced here, for left in TrumpetL/*wav; do name=${left##*/} right=TrumpetR/$name sox -M $left $right stereo-$name done create a new folder called *Trum**pet* and have the stereo files produced from the merger? I am assuming this is the bat file I need to create. Mark** On 09/12/2016 23:55, Jan Stary wrote: > On Dec 09 19:58:33, marcusfb@gmail.com wrote: >> Ok.... if I were to carry on with sox, what syntax would I need to use so >> that all the 61 files in a folder are matched up with the corresponding ones >> to output files with the same name in a different folder? > http://marc.info/?l=sox-users&m=148118243012683&w=2 > > > ------------------------------------------------------------------------------ > 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 > _______________________________________________ > Sox-users mailing list > Sox-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/sox-users > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus --------------169F292A7D555F2CE7D150DE Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

Thanks for that reply. Would that code, reproduced here,

for left in TrumpetL/*wav; do
		name=${left##*/}
		right=TrumpetR/$name
		sox -M $left $right stereo-$name
	done

create a new folder called Trumpet and have the stereo files produced from the merger?

I am assuming this is the bat file I need to create.

Mark


On 09/12/2016 23:55, Jan Stary wrote:
On Dec 09 19:58:33, marcusfb@gmail.com wrote:
Ok.... if I were to carry on with sox, what syntax would I need to use so
that all the 61 files in a folder are matched up with the corresponding ones
to output files with the same name in a different folder?
http://marc.info/?l=sox-users&m=148118243012683&w=2


------------------------------------------------------------------------------
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
_______________________________________________
Sox-users mailing list
Sox-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sox-users





Avast logo

This email has been checked for viruses by Avast antivirus software.
www.avast.com


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