I'm not entirely new to Linux, but I am new to scripting in Bash. Can anybody help me with the following:
How can I automatically merge 2 wav-files into 1 mp3 file?
I play in a band and last saturday night we recorded some of our songs on a simple digital recording device. This device create two wav-files, 1 for the frontmicrophone and 1 for the backmicrophone.
I want to merge these files together, but since we recorded a lot of things, we got a lot of files to merge. I don't want to do all that work by hand.
Now I want to save the files in 1 directory, and I want to create a script which search for a particular pattern in a file name (eg. "MC0001F.wav" and "MC0001B.wav" so the script must search for "*F.wav" and "*B.wav"). When he found a match, he must merge those files into 1 mp3 (I guess I can use something like 'sox' for that).
Can anybody help me with this?
Thanks in advance.