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: merging mono files Date: Wed, 7 Dec 2016 22:07:11 +0100 Message-ID: References: <20161207210754.6rliezfgvdzgzco3@fastmail.com> Reply-To: sox-users@lists.sourceforge.net NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3623294305857695874==" X-Trace: blaine.gmane.org 1481144879 1351 195.159.176.226 (7 Dec 2016 21:07:59 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 7 Dec 2016 21:07:59 +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 Wed Dec 07 22:07:51 2016 Return-path: Envelope-to: gcas-sox-users@gmane.org Received-SPF: pass (sog-mx-3.v43.ch3.sourceforge.com: domain of gmail.com designates 209.85.210.171 as permitted sender) client-ip=209.85.210.171; envelope-from=marcusfb@gmail.com; helo=mail-wj0-f171.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=rd8ld5dTax8UdwFwd/jFN7yeNqYgz727lSnqnN9K3yI=; b=QS/iMRrgqocmAwRjxzs2+WoGNjQvpuyKRbJLZmJubRwXaZDZ3yA6WlAZ+APIbH5WhV 18vARbbNYO5raFdL6t/h+eOMZcROFQj1ihkwl/MkW1uRemyVXDUTKszbOrvqtYMg6fPJ zlN0FH+komfSWV1cuZ3isXMv2fRyuPorypKe+/gz8xU6yaR3NOZGuClUGZK3fFKT+PB3 IlfxV4xL5SgrOj/5Y31Q+DYT51VJUgq2b7AnvQbAfUZVb3G6OhtO5GzTraOzJh7fQ7Wf QdZKa0c7QWEj1lzNJDjiBmBYbBjpj0TTZ2dlvGgdRyrrOzh+PdfOUYSuEw3PO31i7qUC 3x9Q== X-Gm-Message-State: AKaTC03NOJgaMM+8haMaeCRYj28J46PfV3/IvutAHDAEvrBLk+oXHrzMspvc1qlF2AEudg== X-Received: by 10.194.169.227 with SMTP id ah3mr60869227wjc.2.1481144841410; Wed, 07 Dec 2016 13:07:21 -0800 (PST) In-Reply-To: <20161207210754.6rliezfgvdzgzco3@fastmail.com> X-Antivirus: avast! (VPS 161207-0, 07/12/2016), Outbound message X-Antivirus-Status: Clean X-Headers-End: 1cEjR1-0002O1-SS 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:6327 Archived-At: Received: from lists.sourceforge.net ([216.34.181.88]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1cEjRM-0007Ci-Dr for gcas-sox-users@gmane.org; Wed, 07 Dec 2016 22:07:48 +0100 Received: from localhost ([127.0.0.1] helo=sfs-ml-1.v29.ch3.sourceforge.com) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cEjR6-0002si-7E; Wed, 07 Dec 2016 21:07:32 +0000 Received: from sog-mx-3.v43.ch3.sourceforge.com ([172.29.43.193] helo=mx.sourceforge.net) by sfs-ml-1.v29.ch3.sourceforge.com with esmtp (Exim 4.76) (envelope-from ) id 1cEjR4-0002sc-Ht for sox-users@lists.sourceforge.net; Wed, 07 Dec 2016 21:07:30 +0000 Received: from mail-wj0-f171.google.com ([209.85.210.171]) by sog-mx-3.v43.ch3.sourceforge.com with esmtps (TLSv1:AES128-SHA:128) (Exim 4.76) id 1cEjR1-0002O1-SS for sox-users@lists.sourceforge.net; Wed, 07 Dec 2016 21:07:30 +0000 Received: by mail-wj0-f171.google.com with SMTP id tk12so77516409wjb.3 for ; Wed, 07 Dec 2016 13:07:27 -0800 (PST) Received: from [127.0.0.1] ([195.158.99.83]) by smtp.gmail.com with ESMTPSA id t82sm11586377wmd.17.2016.12.07.13.07.20 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 07 Dec 2016 13:07:20 -0800 (PST) This is a multi-part message in MIME format. --===============3623294305857695874== Content-Type: multipart/alternative; boundary="------------4D5A0A66A1B6B051D0B9F8DD" This is a multi-part message in MIME format. --------------4D5A0A66A1B6B051D0B9F8DD Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Hi Peter, Thanks for your reply. Been there, done that. I figured out how to open cmd prompt and set the path. 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? Regards Mark On 07/12/2016 22:07, Peter P. wrote: > * Dr. Mark Bugeja MD [2016-12-07 20:54]: >> Hi guys, > Hi Dr. Mark > >> I cannot interact directly on the mailing list for some reason and had to >> post my question via email. > This is how mailing lists work. You post your question by mail, others > read it and respond via mail (which is what I am doing). > >> I have just installed SoX and upon running it I only get a back window >> appearing momentarily and then vanishes. Consider me a complete noob and >> treat me with some patience. > SoX is a program that you run in a comman line window. Depending on the > operating system you are on you have to open a terminal window > (sometimes called shell) and type commands in there. SoX is one of the > commands you type. > An ixquick.com internet search gave the following webpage as third > result: https://github.com/JoFrhwld/FAVE/wiki/Sox-on-Windows > This, combined with the following instructions how to open that terminal > window (aka shell aka command prompt) > http://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/ > should get you going. Try to combine two mono files to one stereo file > as a first example. You might have to get into some shell scripting. > Feel free to report back to this list if basic sox operation is still > not working after you read both sites. > > cheers, P > >> I need to combine several mono wav samples to corresponding stereo files. I >> am running Windows 10 not linux. The files are in folder and named as as >> follows: >> >> Basson16L >> ....rel00150 >> ........036-C >> ........037-C# >> ........038-D >> ........etc >> ....rel00600 >> ........036-C >> ........037-C# >> ........038-D >> ........etc >> ....rel99999 >> ........036-C >> ........037-C# >> ........038-D >> ........etc >> 036-C >> 037-C# >> 038-D >> etc >> >> >> Basson16R >> ....rel00150 >> ........036-C >> ........037-C# >> ........038-D >> ........etc >> ....rel00600 >> ........036-C >> ........037-C# >> ........038-D >> ........etc >> ....rel99999 >> ........036-C >> ........037-C# >> ........038-D >> ........etc >> 036-C >> 037-C# >> 038-D >> etc >> >> Each subfolder has similarly names files as shown. >> >> I need to merge corresponding lefts and rights to output as new stereo files >> in new folders bearing the original name of the instrument (organ stop in >> this case) and subfolders and I want to ensure the appropriate files are >> merged together. Identical names exist in the subfolders that bear the >> release/ tail of a wave profile because each must correspond to the >> corresponding main file when eventually played in the appropriate software. >> Those of you who may have processed sound files for jOrgan, GrandOrgue or >> Hauptwerk know what I am talking about. >> >> How do I get to use SoX for this exercise. Total files I need to process run >> into 2000+ mono files x 2 to get 2000+ stereo files. That's a lot to process >> manually!!! >> >> I hope that loops and markers (cues) are not erased in the process!!! >> >> Regards >> Mark >> (marcusfb(at)gmail.com) >> >> >> >> >> --- >> This email has been checked for viruses by Avast antivirus software. >> https://www.avast.com/antivirus >> ------------------------------------------------------------------------------ >> 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 > > ------------------------------------------------------------------------------ > 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 --------------4D5A0A66A1B6B051D0B9F8DD Content-Type: text/html; charset=windows-1252 Content-Transfer-Encoding: 7bit

Hi Peter,

Thanks for your reply. Been there, done that. I figured out how to open cmd prompt and set the path.

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?

Regards

Mark



On 07/12/2016 22:07, Peter P. wrote:
* Dr. Mark Bugeja MD <marcusfb@gmail.com> [2016-12-07 20:54]:
Hi guys,
Hi Dr. Mark
 
I cannot interact directly on the mailing list for some reason and had to
post my question via email.
This is how mailing lists work. You post your question by mail, others
read it and respond via mail (which is what I am doing).
 
I have just installed SoX and upon running it I only get a back window
appearing momentarily and then vanishes. Consider me a complete noob and
treat me with some patience.
SoX is a program that you run in a comman line window. Depending on the
operating system you are on you have to open a terminal window
(sometimes called shell) and type commands in there. SoX is one of the
commands you type.
An ixquick.com internet search gave the following webpage as third
result: https://github.com/JoFrhwld/FAVE/wiki/Sox-on-Windows
This, combined with the following instructions how to open that terminal
window (aka shell aka command prompt)
http://www.howtogeek.com/235101/10-ways-to-open-the-command-prompt-in-windows-10/
should get you going. Try to combine two mono files to one stereo file
as a first example. You might have to get into some shell scripting.
Feel free to report back to this list if basic sox operation is still
not working after you read both sites.

cheers, P
 
I need to combine several mono wav samples to corresponding stereo files. I
am running Windows 10 not linux. The files are in folder and named as as
follows:

Basson16L
....rel00150
........036-C
........037-C#
........038-D
........etc
....rel00600
........036-C
........037-C#
........038-D
........etc
....rel99999
........036-C
........037-C#
........038-D
........etc
036-C
037-C#
038-D
etc


Basson16R
....rel00150
........036-C
........037-C#
........038-D
........etc
....rel00600
........036-C
........037-C#
........038-D
........etc
....rel99999
........036-C
........037-C#
........038-D
........etc
036-C
037-C#
038-D
etc

Each subfolder has similarly names files as shown.

I need to merge corresponding lefts and rights to output as new stereo files
in new folders bearing the original name of the instrument (organ stop in
this case) and subfolders and I want to ensure the appropriate files are
merged together. Identical names exist in the subfolders that bear the
release/ tail of a wave profile because each must correspond to the
corresponding main file when eventually played in the appropriate software.
Those of you who may have processed sound files for jOrgan, GrandOrgue or
Hauptwerk know what I am talking about.

How do I get to use SoX for this exercise. Total files I need to process run
into 2000+ mono files x 2 to get 2000+ stereo files. That's a lot to process
manually!!!

I hope that loops and markers (cues) are not erased in the process!!!

Regards
Mark
(marcusfb(at)gmail.com)




---
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus

      
------------------------------------------------------------------------------
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

------------------------------------------------------------------------------
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


--------------4D5A0A66A1B6B051D0B9F8DD-- --===============3623294305857695874== 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 --===============3623294305857695874== 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 --===============3623294305857695874==--