Automation of adding two files

GoldWave general discussions and community help
Post Reply
vijay.garg@gmail.com
Posts: 9
Joined: Thu Oct 04, 2012 7:31 pm

Automation of adding two files

Post by vijay.garg@gmail.com »

I have a large number of audio file "pairs" that need each pair to be added (wave1(n)+wave2(n)).
I'd like to automate this.
Can someone clue me in?
Thanks
Gord
Posts: 391
Joined: Thu May 21, 2009 4:26 pm
Location: Canada

Re: Automation of adding two files

Post by Gord »

You could write a little Windows script to invoke GoldWave using the '-clipboard' and '-process' parameters to mix pairs of files together. In fact the example provided for '-clipboard' in the GoldWave manual under "Command Line Parameters"...

"C:\Program Files\GoldWave\GoldWave.exe" -process:Mix "My Music.wav" "-clipboard:My Vocals.wav"

...would be almost exactly what you want to do. The "Mix" batch processing preset would simply have a single Mix edit on the Process tab.
vijay.garg@gmail.com
Posts: 9
Joined: Thu Oct 04, 2012 7:31 pm

Re: Automation of adding two files

Post by vijay.garg@gmail.com »

Thanks Gord, I am going to try that.
DougA
Posts: 63
Joined: Fri Dec 28, 2007 2:01 pm

Re: Automation of adding two files

Post by DougA »

I've asked the same question in the past as well.
Gord's answer is good and does work.
However, depending on what "a large number" means, this could get tedious.
If you have any programming skills, the effort to write your own turns out to be quite easy.
I wrote a REXX routine to merge files, if you're interested send me an email and I'll send you details.
Doug
vijay.garg@gmail.com
Posts: 9
Joined: Thu Oct 04, 2012 7:31 pm

Re: Automation of adding two files

Post by vijay.garg@gmail.com »

Doug,
I have many files with different names to join. Yes, it will be still tedious. But it will be better than always opening them in Goldwave and processing. My programming skill is not bad but I am not an expert by any means.
I will appreciate if you can send me REXX routine. email is vijay.garg@gmail.com. Thanks in advance.
Gord
Posts: 391
Joined: Thu May 21, 2009 4:26 pm
Location: Canada

Re: Automation of adding two files

Post by Gord »

@DougA - Thanks for offering to help out. Just to clarify, your requests were to "glue" two audio files together (two 1-minute files become one 2-minute file), whereas I'm pretty sure that Vijay wants to "mix" two audio files (two 1-minute files mixed to become one 1-minute file).
DougA
Posts: 63
Joined: Fri Dec 28, 2007 2:01 pm

Re: Automation of adding two files

Post by DougA »

Thanks Gord, I missed that. I'll contact him offline, and see what we can do.
Doug
vijay.garg@gmail.com
Posts: 9
Joined: Thu Oct 04, 2012 7:31 pm

Re: Automation of adding two files

Post by vijay.garg@gmail.com »

Gord is right.
vijay.garg@gmail.com
Posts: 9
Joined: Thu Oct 04, 2012 7:31 pm

Re: Automation of adding two files

Post by vijay.garg@gmail.com »

Doug helped me to get this done. He not only provided a free and simple programming language program (REXX) but also gave a written program to do the mixing operation. Thanks Doug.
donrandall
Posts: 550
Joined: Wed Dec 01, 2004 11:06 pm
Location: Denver, Colorado

Re: Automation of adding two files

Post by donrandall »

Doug is one of the good guys!
Post Reply