PDA

View Full Version : shntool -fix command HELP ??


CranAdamU2
2004-12-13, 08:46 PM
I understood how to get around the DOS PROMPT COMMAND LINE and create a batch file for shntool -len, from (RainDawg's Site (http://www.audiophilia.net/shntool-shnlen.htm)) and using the command line and save it to an "empty" notepad file, saving it with a '.bat' to the end, dropping the audio folder to check it.......

but I was wondering if someone could help me out :cool: and do the same procedure (copy and paste a command line to a blank notepad file, label it shntool fix.bat and drop the folder to fix the sbe's) by providing me with a command line to use in a batch file [for the life of me I still can't get any of those commands to work {in ms-dos} with WHATEVER directory of lossless music I direct it to], and would it work the same as the shntool -len or it or am I doomed to face the dos prompt all alone ???? :disbelief :hmm:

RainDawg
2004-12-14, 11:27 AM
Yeah, I have a batch file that I use to fix sets. You will have to be careful when you use it, as it will fix the files in sequential order by their filename, so if they are not in order or if you have multiple sets in one folder, it can cause audio to get appended the wrong way.

Also note that this batch file will work on any shn/flac/wav/ape file. You could take out support for one of these formats if you choose. As a default, this will output to .wav with the -fixed appended to the end of the filename, but this can be changed to output directly to one of these formats (but I'll leave that as an excercise to you).


@echo off
%~d1 & cd %*
for %%T in (shn flac wav ape) do if exist *.%%T shntool fix *.%%T
pause

uhclem
2004-12-28, 11:49 AM
The problem with a batchfile like this is it takes no account of different sets and other breaks in the music where you might not want to shift the track markers. I generally make a unique batch file for each set of SHNs that I fix.

I do have a general fixit setup that I will happily share with you but it's on my work computer for some reason and I won't be there until the new year.

bobs23
2004-12-28, 10:27 PM
OK I'm still learning this. Here is what I found. I have a folder with 9 flac files in it. I ran the len batch file and came up with SBE on track 5. I ran the batch file for fix and it fixes files 5-9. I decoded the original track 5 and zoomed to the frame and looked at the head of the track and couldn't see an error. The tail is a fade out and the head of track 6 is a fade in. I then created a false folder and put track 4,5,6 in it and ran the batch file figuring that it would align based on the track around it and it did nothing. Is it correct to assume that when I did the original fix that it fixed the SBE in track 5 and then slides all the subsiquent tracks equal to the amount of the track 5 fix. And when it does the fix, does it pad or does it remove the error and remark at the zero cross? The reason I ask is that I haven't yet found any other problem discs with SBE's. I created this disc with CDWave and in this case split in the silence between the fade down and fade up. I can only assume that this where the problem is. :confused:

RainDawg
2004-12-29, 01:14 AM
The problem with a batchfile like this is it takes no account of different sets and other breaks in the music where you might not want to shift the track markers. I generally make a unique batch file for each set of SHNs that I fix.
Yes...this is absolutely true. If there are set breaks or fadeouts in certain places, you'll want to arrange how the data gets shifted accordingly. This batch file is, of course, a very simple fix.

feralicious
2005-04-02, 11:15 AM
:hmm: uhclem is deep_elem?

Five
2005-04-02, 11:21 AM
:lol

when uhclem first arrived at TTD he was using deep_elem, then switched back to uhclem to avoid confusion with the other two DeepElems.

feralicious
2005-04-02, 11:22 AM
Yeah, uhclem doesn't seem that bitter so I was surprised. :lol

pmonk
2005-04-26, 07:44 PM
I do have a general fixit setup that I will happily share with you but it's on my work computer for some reason and I won't be there until the new year.

Did you ever manage to share this uhclem????