Re: merging mono files

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Dr. Mark Bugeja MD <marcusfb@xxxxxxxxx> [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
_______________________________________________
Sox-users mailing list
Sox-users@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/sox-users



[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux