shntool and SBE's (sector Boundary Error) tutorial.
if anyone has any suggestions on how to do this stuff easier, feel free to post it here.
This tutorial will show you how to:
Fix Sector Boundary Errors on SHN, FLAC and WAV files.
Put shntool output in your posts.
1. You must have the following software:flac shorten shntool
have the following files in your path
most of you should already have flac installed, so go grab shntool and shorten. Save the zip files
to your C: directory.
2. Install flac if you have not already, then unzip the shorten and shntool zip files to C:
3. Inside the shorten folder, you will find a file named "shorten".
Copy this file to a directory in your path.
To find the directory in your path, go to Start>run>then type "cmd"
next, navigate to C:, at the C: prompt, type "echo %PATH%"
If you are on an xp machine like I am, Your path is C:\WINDOWS\System32,
Copy the "shorten" file to this directory.
3. Inside the shntool folder, you will find a file named "shntool" and one named "cygwin1.dll".
Copy these two files to the same directory.
4. Next, go to the folder where your flac program files are located.
It should be in C:\Program Files\FLAC. In that folder you will see a
file named "flac" and one named "metaflac", copy these to the same directory.
Now we are all setup with the helper files for flac and shn. so with the batch files
I have attached to this post, you can fix SBE errors on flacs, shns and wavs and
shntool will ouput the same file type.
*******Keep in mind that we are running these batch files on each disc for a particular show.*******
So, when you fix a show or check a show, you want to put all of disc 1 files in the
C: directory and run the fix of choice, rename the files that get "fixed"
and move them out of the directory, repeat this process with disc 2, 3 and so on.
I use the C: directory because it is the easiest to navigate to once you go to
Start>run>then type "cmd". Change directories by typing cd.. at each prompt till
it gets you to C:
5. Unzip The attachment i put on this post to C:
The zip contains:
flacfix - this file will fix the SBE errors on .flac files.
flaclength - this file will send the shntool output for a set of .flacs to a .txt file in C: named "output.txt".
shnfix - this file will fix the SBE errors on .shn files.
flaclength - this file will send the shntool output for a set of .shns to a .txt file in C: named "output.txt".
wavfix - this file will fix the SBE errors on .wav files.
flaclength - this file will send the shntool output for a set of .wavs to a .txt file in C: named "output.txt".
flac and fix - this file will repair SBE's and encode to .flac at level 8 simultaneously.
execute these commands by simply double-clicking on them.
******If your files do contain SBE errors and you have new "fixed" files,*******
make sure to rename them and add a new MD5 checksum or flac fingerprint
since the signatures will no longer match.
6. After you run the fix files on each disc of flacs or shns and you have
corrected the md5 or fingerprint, you'll want to run the length
batch files on the WHOLE FILESET. Which means you'll have to put all of the
files back into C: and run the corresponding length batch file to get your
shntool output, which is outputted to output.txt in C:, copy this data to
your post and that will confirm your show is free of SBE's.
7. Pat yourself on the back for spreading quality, error-free music.
Again, If anyone has some better or more USER FRIENDLY suggestions, please let me know and
post them here. Also, if I have made a mistake in this tutorial, Please post it here or PM me.