The Traders' Den  

  The Traders' Den > Where we go to learn ..... > Technobabble
 

Notices

Technobabble Post your general Need for Help questions here.
Lossy or Lossless?
Moderators

Reply
 
Thread Tools
  #1  
Old 2004-12-11, 07:26 PM
ssamadhi97's Avatar
ssamadhi97 ssamadhi97 is offline
meow.
87.81 GB/69.41 GB/0.79
 
Join Date: Nov 2004
Location: Old Europe
Lightbulb format-independent SBE detection with foobar2000

(copied from the Foobar2000 SHN > FLAC Conversion: A Visual Guide thread - I thought people might find this useful )


SBE checking code for foobar2000

To add file format independent SBE indication to your playlist, append the following code to your playlist formatting string (Preferences -> Display -> Title formatting, Playlist tab):

$ifgreater($mod(%_length_samples%,588),0,$rgb(180,90,90,180,90,90)$num($mod(%_length_samples%,588),3 ),)

The result looks kinda like this:


Tracks with a red number after the playing time have an SBE. For example, in the screenshot above, only the Stolen Ogre tracks have SBEs.

Some tech details on the numbers: The number displayed says how many samples would fall in the last sector of this track when burning it on cd. So if it says 587, the track is just one sample shy of sector alignment, while 325 would mean that 263 samples are missing (or that there are 325 too many, depending on how you look at it )


note the nifty PacMan progress bar

Last edited by ssamadhi97; 2004-12-11 at 07:35 PM.
Reply With Quote Reply with Nested Quotes
  #2  
Old 2004-12-11, 08:21 PM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: format-independent SBE detection with foobar2000

Hey, great idea! I just put in a slightly varied version of what you just did...made the tracklength green if it's SB aligned and red if it's not. Show's what one can do with a bit of ingenuity.
__________________
Through the clouds,
Throught the lies,
We'll never see,
What's never been,
At the ending of life and the coming of death,
Pass not through its gates but into the dark.
Reply With Quote Reply with Nested Quotes
  #3  
Old 2004-12-11, 10:28 PM
Five's Avatar
Five Five is offline
189.30 GB/594.78 GB/3.14
 
Join Date: Oct 2004
Location: Canada
Re: format-independent SBE detection with foobar2000

bloody brilliant!
__________________
Checksums Demystified | ask for help in Technobabble

thetradersden.org | ttd recommended free software/freeware webring
shntool tlh eac foobar2000 spek audacity cdwave vlc

Quote:
Originally posted by oxymoron
Here you are in a place of permanent madness, be careful!
Reply With Quote Reply with Nested Quotes
  #4  
Old 2004-12-17, 07:33 AM
LoveHater
0.00 KB/0.00 KB/---
 
Re: format-independent SBE detection with foobar2000

great information, another good point for foobar!
now, this leads me to another question: fixing can be done with shntool, so far thats ok with me, but how to fix if shntool wont run on my pc? (note: i use w2000, i think it depend on the "emulated" dos mode...) will a replaygain with foobar solve this or must i work on every file with cdwave or another wave-editor? or is burning with feurio a better way?
Reply With Quote Reply with Nested Quotes
  #5  
Old 2004-12-17, 07:38 AM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: format-independent SBE detection with foobar2000

shntool works fine on NTs DOS emulator....

Replaygain has absolutely nothing to do with sector boundaries. It is just a value for adjusting the volume during playback to bring the output into "normal" range.
__________________
Through the clouds,
Throught the lies,
We'll never see,
What's never been,
At the ending of life and the coming of death,
Pass not through its gates but into the dark.
Reply With Quote Reply with Nested Quotes
  #6  
Old 2004-12-17, 07:55 AM
LoveHater
0.00 KB/0.00 KB/---
 
Re: format-independent SBE detection with foobar2000

thx for the fast answer ... i tried shntool once more, but it opens and is closed one second later ... replaygain wont work, as you said, what about working on the files with a waveeditor?
Reply With Quote Reply with Nested Quotes
  #7  
Old 2004-12-17, 08:05 AM
RainDawg's Avatar
RainDawg RainDawg is offline
Renegade Geek
10.20 GB/20.72 GB/2.03
 
Join Date: Oct 2004
Location: Passing swiftly through The Moor
Re: format-independent SBE detection with foobar2000

What are you doing to use shntool? A lot of people have issues with it, but it's always because it's not setup properly.

Have you read through the shntool guides I have at www.audiophilia.net?

Also, note that I have a standalone program that is going to act as a frontend and proper installer for shntool and related programs that I've coded, though it's a few weeks away from being a reasonably effective "beta" product. If you can't get shntool running, and can be patient while I put a few touches on this thing, you'll have a nice way to use shntool without needing command line at all.

Finally, the only two other ways I can think of correct SBEs are to combine the whole show into a single wav file and split it up with CDWav or to decode to wav and use FLAC Frontend (make sure you have the newest version) to compress back to FLAC using the "sector align" option.

If you need help checking your shntool setup after reading the pages I setup, feel free to PM me.
__________________
Through the clouds,
Throught the lies,
We'll never see,
What's never been,
At the ending of life and the coming of death,
Pass not through its gates but into the dark.
Reply With Quote Reply with Nested Quotes
  #8  
Old 2004-12-17, 08:13 AM
LoveHater
0.00 KB/0.00 KB/---
 
Re: format-independent SBE detection with foobar2000

so youre the guy who coded the audiophilia stuff, wow ... before annoying you with more dump questions ( ), ill read your shntoolguides, maybe i can set it up then, would be easier for both of us ...

but thx, if i cant get it to work, ill send you a pm

greetings
stefan
Reply With Quote Reply with Nested Quotes
Reply

The Traders' Den > Where we go to learn ..... > Technobabble

Similar Threads
Thread Forum Replies Last Post
Foobar2000 question - ccrider895 Technobabble 2 2007-06-18 12:42 PM
New 2 lossy detection, opinions sought. - Robert Cook Lossy or Lossless? 14 2006-08-19 06:34 PM
AccurateRip plugin for EAC (including offset detection) - range_hood Technobabble 1 2006-05-31 10:40 PM
Foobar2000 Wav vs Wavepack? - MetalNinja Technobabble 2 2006-04-28 07:51 PM


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forums


All times are GMT -5. The time now is 05:55 AM.


Powered by: vBulletin, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - , TheTradersDen.org - All Rights Reserved - Hosted at QuickPacket