The wavbreaker TrackBreak file format ===================================== wavbreaker's TrackBreak file format is a simple file format that saves track break info (offsets and filenames) for a wave file. Each line in the input file can be one of the following: 1) Empty line 2) Comment line 3) Offset with filename 4) Offset without filename Empty line ========== Empty lines are ignored and can be used to structure a track break file Comment line ============ Comment lines MUST start with the ";" character and are also ignored, these can be used to comment track breaks or add additional information Offset with filename ==================== These have the format "%d=%s", i.e. the offset as an integer and the file name as a string, seperated by a "=" sign. The line 12323=first_song means the track "first_song" starts at offset 12323 and ends at the beginning of the next offset or at the end of the input file, whatever comes first. Offset without filename ======================= These have the format "%d", i.e. the offset as an integer on a line. This is used to mark the end of a previous offset with filename and start the beginning of a part that is marked not to be written to disk. wavbreaker will choose a default file name for this part, but the part will be marked not to be used. Sample file =========== ; This is a comment 0=First_Song 18569 ; This is another comment 27056=My_Favourite_Song 28911 36888=Audience This will result in the following tracks: start end filename ====================================== 0 -> 18568 First_Song.wav 18569 -> 27055 (skipped) 27056 -> 28910 My_Favourite_Song.wav 28911 -> 26887 (skipped) 26888 -> EOF Audience.wav Thomas Perl , 2007-04-22