Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: 2 Mono .WAV to 1 Stereo .WAV in Batchprocess (Read 10411 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Hey,

I have a little problem. I have got a lot of .wav files which need to be processed in a batchprocess.
What I need to do ist first convert two different .wav files from stereo to mono - and then merge those two mono .wav files to one - where each of them is right / left channel. I have like 1000 files to be processed that way.

I looked into Magix Samplitude and some other tools - but it was only possible to make the conversion from stereo to mono - which is already very helpfull. Maybe someone has a solution or a hint that'd help me?

Thanks in advance,

Regards Jan

2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Reply #1
Check out besweet. It's a commandline audio processing utility with TONS of options. I'm sure it has the ability of merging mono files into stereo much the same way it does for multichannel audio handling.
Can't wait for a HD-AAC encoder :P

 

2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Reply #2
There's a small app on Rarewares called mono2stereo.

There are also some useful apps here.  ChannelX will split a stereo file into 2 mono.
I'm on a horse.

2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Reply #3
Check out besweet. It's a commandline audio processing utility with TONS of options. I'm sure it has the ability of merging mono files into stereo much the same way it does for multichannel audio handling.



hmm... I already looked at that program - seems that it "could" do what I want - but some guys told me that it would do a transcode and stuff... and furthermore - if I wanted to have a batch process - what would be the approach to that. I guess something with using the FOR command, right? I'm not very good at understanding such syntax stuff... maybe some help there?

I have here some example what I want to do exactly:

  file_0001_LEFT.wav (mono)
+ file_0001_RIGHT.wav (mono)
= file_0001_STEREO.wav (stereo)


  file_0002_LEFT.wav (mono)
+ file_0002_RIGHT.wav (mono)
= file_0002_STEREO.wav (stereo)

thanks for the help!

edit:

yes! m2s is what I found yesterday - but all the links I found were dead - thanks a lot Synthetic Soul!

Now I need to find out how to batch process with that tool... it must be something with that "FOR"-thingy...

m2s.exe -l file_*_LEFT.wav -r file_*_RIGHT.wav -o file_*_STEREO.wav ...something like this? ...hehe sorry - I guess it's completely wrong - where to put the FOR "loop"?

2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Reply #4

Check out besweet. It's a commandline audio processing utility with TONS of options. I'm sure it has the ability of merging mono files into stereo much the same way it does for multichannel audio handling.



hmm... I already looked at that program - seems that it "could" do what I want - but some guys told me that it would do a transcode and stuff...

I don't think it would transcode a wav unless you specify any of the DSP processing options.
and furthermore - if I wanted to have a batch process - what would be the approach to that. I guess something with using the FOR command, right? I'm not very good at understanding such syntax stuff... maybe some help there?

Exactly

Create a .bat or .cmd file with the following code:

Code: [Select]
For %%a in (*LEFT.wav) do (
  set filename = %%a
  someutil /input1 %%a /input2 %filename:~0,-8%RIGHT.wav /output %filename:~0,-8%STEREO.wav
)


%%a would be the filename to process. If you want to process subdirs, use "For /r %%a..."

For is GREAT in batch scripts

Edit: Just updated the code so it might work correctly. Notice that the ~0,-8 within the variable subtracts the last 8 characters in the input file. This is used to point to the "RIGHT" soundfile and the "STEREO" file.
Can't wait for a HD-AAC encoder :P

2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Reply #5
thanks a lot - it's working like a charm... you saved my ass 

cheers


2 Mono .WAV to 1 Stereo .WAV in Batchprocess

Reply #7
I seem to recall writing that little app a few years back because someone asked for it (so to speak!). Nice to see someone else has a use for it too!!