Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: pre-emphasis DETECTION in Foobar (Read 4699 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

pre-emphasis DETECTION in Foobar

Having some issues with playback of files (early-1980s CD rips) that I'm sure (but not positive) used pre-emph. I'll get to that problem later but I've gotta shed some light first ...

Like the HDCD plugin, which automatically detects the HDCD flag, and lets you know ... does Foobar have a similar plug-in that detects/displays pre-emph.?
(I think most older CD players automatically detect and enable pre-emph.  when appropriate "flag" is present)

Thanks!

pre-emphasis DETECTION in Foobar

Reply #1
That requires reading the subchannel data, and even then, foobar2000 does not come stock with a de-emphasis DSP.

pre-emphasis DETECTION in Foobar

Reply #2
That requires reading the subchannel data, and even then, foobar2000 does not come stock with a de-emphasis DSP.
Is subchannel data extracted when CD is ripped (e.g., via EAC).
I installed the plug-in here ...
http://www.hydrogenaudio.org/forums/lofive...php/t53951.html

... but can't seem to get it to work.
Maybe my Asus Xonar SC can manage pre-emph. but I don't see that in its Admin.

pre-emphasis DETECTION in Foobar

Reply #3
Is subchannel data extracted when CD is ripped (e.g., via EAC).
If the program is competent, like EAC, then yes: the subchannel data is scanned for the flag indicating emphasis, and this will be written to a cuesheet as FLAGS PRE for all affected tracks.

Other, supposedly ‘raw’ rippers, try to extract the subchannel data as-is, but (A) in my experience, good luck finding a drive that can return consistently identical data on subsequent attempts, and (B) you only really need the main bits of data in the subchannels, which EAC et al. accommodate in a more intuitive format.

Quote
I installed the [convolver-based method] but can't seem to get it to work.
In what way? What exactly have you tried?

Anyway, you might want to try a more up-to-date and automatic solution such as lvqcl’s foo*deemph (based upon SoX) or mudlord’s foo_dsp_effect.

Quote
Maybe my Asus Xonar SC can manage pre-emph. but I don't see that in its Admin.
I’d be surprised if de-emphasis is supported by m/any audio cards, at least nowadays and in the consumer sector.

pre-emphasis DETECTION in Foobar

Reply #4
Other, supposedly ‘raw’ rippers, try to extract the subchannel data as-is, but (A) in my experience, good luck finding a drive that can return consistently identical data on subsequent attempts, and (B) you only really need the main bits of data in the subchannels, which EAC et al. accommodate in a more intuitive format.

Quote
I installed the [convolver-based method] but can't seem to get it to work.
In what way? What exactly have you tried?

Anyway, you might want to try a more up-to-date and automatic solution such as lvqcl’s foo*deemph (based upon SoX) or mudlord’s foo_dsp_effect.

"foo_deemph.dll" is in "C:\Program Files\foobar2000\components"
I see it in Installed Components.
I guess I don't know how to "tag" ...
... the file I need to deemph...
Genesis - 1983 - Genesis (Atlantic, 7 80116-2, W.German Target)_ape
Genesis - 1983 - Genesis (Atlantic, 7 80116-2, W.German Target)_ape\Genesis - Genesis.ape.cue

Do I need to "tag" the .ape file or the .cue file?
I'm not sure whether one adds the proper tag via Properties/Metadata?

Back to the orig. question ... is there anyway Foobar will detect pre-emphasis flag?
The only thing I have to go on is over-bright/trebley sound.

Thanks!

pre-emphasis DETECTION in Foobar

Reply #5
I guess I don't know how to "tag" ...
... the file I need to deemph...
It says it right there in the opening post of the official thread:
* To de-emphasize a track, add a tag named PRE_EMPHASIS or PRE-EMPHASIS with a value 1, on or yes. Other tracks are unaffected.


As for whether fb2k can do this automatically by default, I’m not 100% certain, but I highly suspect not because, otherwise, why would people have to add a tag like the above?

pre-emphasis DETECTION in Foobar

Reply #6
As for whether fb2k can do this automatically by default, I’m not 100% certain, but I highly suspect not because, otherwise, why would people have to add a tag like the above?
I guess this is more an EAC or ripper issue, so a bit OT ...
We know EAC detects pre-emph. (in that far right-hand column -- some reports EAC is not 100% accurate, 'tho???). Anyway, if one EAC-rips in compressed mode (lossless, in my case), is that pre-emph flag lost? I don't see it in the CUE sheet. Or (perhaps more important) in the LOG file. Not sure there is an option to add pre-emph info to EAC-generated LOG file.
Unfortunately, most of the CDs I EAC-ripped are now gone or I only acquired (downloaded) the album file rips.

pre-emphasis DETECTION in Foobar

Reply #7
EAC does make a lot of pieces of data available to the command line of an external encoder, but the pre-emphasis flags are not in that list of placeholder variables, so it's never going to tag files automatically for you. The only place pre-emphasis flags ever show up is in the main EAC window and in the cue sheet if you generate one. Even then, the flag is only being read from the disc's TOC. As you can see at this site (click), it's not uncommon for the flags in the TOC to not match the flags in the subcode, which are the ones that matter and would actually trigger de-emphasis in a real player. That Genesis CD is mentioned there, but no one has reported details about what flags appear where.


pre-emphasis DETECTION in Foobar

Reply #9
CUERipper does get the pre-emphasis flags from the subcode, yes.