I shifted the Test.bat, left.wav, right.wav in a subfolder called "input" (arbitrarily) and ran c:\Program Files (x86)\sox-14-4-2\input>Test.bat and YES I get a stereo.wav which appears correct on Soundforge!!! Horrah!! On 08/12/2016 03:15, Kevin Conder wrote: > On Wed, Dec 7, 2016 at 1:52 PM, Dr. Mark Bugeja MD wrote: > >> Hi guys, >> >> I cannot interact directly on the mailing list for some reason and had to post my question via email. >> >> 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. >> >> 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: >> >> 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!!! >> > Let's break your question into two parts: combining two 1-channel > audio files into one 2-channel audio file and scripting this > combination with multiple files in different directories. > > There is one caveat: I don't have access to Windows 10, I'm using Windows 7. > > 1. Does this sox command work for combining two 1-channel files, > left.wav and right.wav, into one 2-channel audio file: stereo.wav? > > sox -M -c 1 left.wav -c 1 right.wav stereo.wav > > > > 2. I would use a scripting language to work with multiple files in > different directories. Do you have Windows Script Host available on > your system? > > a. Go to the command prompt. (Search for "Command Prompt" or "cmd.exe".) > > b. At the command prompt, type this command: > > cscript.exe > > If the command returns an error, you don't have Windows Script Host > installed. If you do have it installed, let's see if you can create > and run a VBScript program. Type this command: > > notepad hello.vbs > > This will bring up the Notepad text editor for a VBScript program > called hello.vbs. Type the following text into Notepad, then save and > close it: > > Wscript.Echo "Hello, World!" > > To run the hello.vbs VBScript program, type the following command at > the command prompt: > > cscript hello.vbs > > The command prompt should display "Hello, World!". Let me know if > you're able to complete #1 and #2 to your satisfaction and I'll help > you combine the two to solve your problem. > --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus