Re: Fwd: Re: merging mono files

Jan Stary <[email protected]>
Newsgroups gmane.comp.audio.sox
Message-ID <[email protected]>
On Dec 10 07:42:16, [email protected] wrote:
> 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?

No. This would create the merged files in the current directory.
That could trivially be changed by running "mkdir Trumpet" first
and then "sox -M $left $right Trumpet/stereo-$name" instead of the above.

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

No. As I said in the original post, this is written for the
standard UNIX shell. The syntax of your widows command prompt
surely is different. I don't speak that.

Do not just run some code snippet someone offers you here or elsewhere.
Invest enough time into writing it yourself from scratch to understand
precisely what it does. It will be a few lines anyway.

	Jan

> 
> 
> On 09/12/2016 23:55, Jan Stary wrote:
> > On Dec 09 19:58:33, [email protected] 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
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/sox-users
> > 
> 
> 
> 
> ---
> 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
> [email protected]
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.