Re: Batching "fileXXXX.mp3" + "addendum.mp3"... (where XXXX=0001 to 3000)



they call me frenchy wrote:
Howdy wise r.a.p.ers,

A friend of mine has approx 3,000 mp3 files that he needs to add a
standard tag line onto the end of.  Obviously this needs to be a batch
process, but I cant think of a Wavelab or Soundforge process that
would do this offhand.  He already has soundforge7 for his work.

You can simply concatenate mp3 files and the result is playable. I've just tried it here on my linux system: $ cat song1.mp3 songs.mp3 >twosongs.mp3 ....and played it back - seemed to work fine.

On a Windows command prompt or batch file, I think the equivalent would be
> copy file1.mp3+file2.mp3 >combined.mp3

How you handle the file names with the embedded numbers is another matter. Here I'd do it with a shell script and a bit of trial and error. On windows you might be able to do it as a batch file too but it would be very fiddly.

Any solution involving decoding and re-encoding the mp3 files is far slower and more complicated than necessary, and isn't likely to get any closer to solving the numbers-embedded-in-file-names problem.

This is a computing rather than an audio problem.

--
Anahata
anahata@xxxxxxxxxxxxxx -+- http://www.treewind.co.uk
Home: 01638 720444         Mob: 07976 263827
.



Relevant Pages

  • Re: Multi-zip files -- Windows server
    ... native DOS versions). ... TO BATCH OR NOT TO BATCH ... and using a batch file to try and solve the problem... ... The IBM PC operating system command line is a most ...
    (comp.sys.cbm)
  • Re: EWF RAM
    ... Do you mean it is running the stress test fine locally on the device? ... If it does and the issue has no repro, you should move to use local batch file approach in your support scenario. ... >> A tech plugs into it with laptop and remote desktops to it. ...
    (microsoft.public.windowsxp.embedded)
  • Re: Windows "Scheduled Task Wizard..."
    ... Do you know any links at Microsoft documents related to the batch file ... command name to get started. ... VB Script and any other Microsoft scripting languages have nice ...
    (microsoft.public.windows.server.general)
  • Re: why cant i get variable value?
    ... i call this bath file in another batch file. ... batch executes the statement using the value AT PARSE TIME. ... @ECHO OFF ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Very weird DOS error
    ... >I have a batch file used to sort lots and lots of files into various ... > @echo ERROR! ... Destination directory missing. ...
    (microsoft.public.windowsxp.general)