Log in

View Full Version : Problem with BeSplit


jagdriver
13th May 2007, 23:22
I have a great many WAV files that need splitting, so I had hoped BeSplit was the answer. For each WAV, I have a corresponding TXT file listing track times, in order, and expressed as minutes/seconds with no colon separator, like this:

55 Track 1 (55 seconds)
457 Track 2 (4 min. 57 sec.)
643 Track 3 (6 min., 43 sec.
....etc.

I've tried many variations of the BeSplit command line with many combinations of arguments, but cannot get BeSplit to "dice up" the WAV per my intent. Here's an example:

D:\Utilities\BeSplit\BeSplit.exe -core( -input "D:\My Music\Sample\00.wav" -prefix "D:\My Music\Sample\Track" -type wav -a ) -split( 55 457 643 etc.)

This doesn't work, nor does every variation I've tried thus far. BeSplit reports 55 as its starting point, then arbitrarily starts slicing it up into individual WAVs, many only 10 milliseconds apart from one another.

Instead, I want it to recognize 0 to 55 seconds as Track01, 55 seconds to 4 min. 57 seconds as Track02, 4 min. 57 seconds to 6 min. 43 sec. as Track03, and so forth.

What is the appropriate syntax to achieve my goal? Also, can I feed BeSplit a replaceable parameter (e.g., %my_var%, in the -split section? I need to be able to do this, for I've written my own wraparound shell to suit my purposes; it automatically reads the TXT file and compiles the -split section on its own.

tebasuna51
14th May 2007, 02:33
Try with relative time instead absolute, and data in seconds 4:57 = 240+57 = 297, 6:43 = 360+43 = 403, like:

...-type wav -r ) -split( 0 55 297 403 etc.)