IPB

Welcome Guest ( Log In | Register )

4 Pages V  < 1 2 3 4 >  
Reply to this topicStart new topic
De-emphasis components, Postprocessor and a DSP plugin
lvqcl
post Dec 16 2013, 18:58
Post #51





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



No, it is implemented as a biquad filter, it doesn't use any impulses.
Go to the top of the page
+Quote Post
SEMteXXL
post Dec 16 2013, 20:17
Post #52





Group: Members
Posts: 12
Joined: 26-July 08
Member No.: 56350



I see. I tried a little with status bar syntax and here are some possibilities. It was easier than I thought.

CODE
Pre-Emphasis: $if($meta(pre-emphasis),Yes,No)
or
CODE
Pre-Emphasis: $if($meta(pre_emphasis),Yes,No)
Depends on your tag name. It doesn't matter which value you are using 1, on or yes. It simply scans for PRE-EMPHASIS or PRE_EMPHASIS tag name presence.

second
CODE
Pre-Emphasis: $ifequal($meta(pre-emphasis),1,Yes,No)
or again
CODE
Pre-Emphasis: $ifequal($meta(pre_emphasis),1,Yes,No)
This one only works with value 1 and NOT with on or yes. I guess there are other possibilities. Hope this helps.

This post has been edited by SEMteXXL: Dec 16 2013, 20:19
Go to the top of the page
+Quote Post
Hotsoup
post Sep 17 2014, 15:33
Post #53





Group: Members
Posts: 177
Joined: 16-March 12
From: Bellingham, WA
Member No.: 97852



I'm experiencing a strange problem - I've uninstalled this component (foo_dsp_deemph) but still seem to notice the effect when applying the %PRE-EMPHASIS% tag or deleting it. There is no active DSP in my chain, just replaygain. I'm currently at work though, looking to test if the same thing happens at my work station where I don't think I've ever installed either plugin, foo_deemph or foo_dsp_deemph. Anyone else able to reproduce this?

EDIT: I also checked for any leftover .dll's in the programs' component folder and APPDATA components folder.

This post has been edited by Hotsoup: Sep 17 2014, 15:36
Go to the top of the page
+Quote Post
eahm
post Sep 17 2014, 16:03
Post #54





Group: Members
Posts: 1323
Joined: 11-February 12
Member No.: 97076



Is there an effective way to know if a CD/track has pre-emphasis?

Thanks.
Go to the top of the page
+Quote Post
lvqcl
post Sep 17 2014, 16:05
Post #55





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



foo_dsp_effect also has its own deemph postprocessing. But IIRC it uses only PRE_EMPHASIS tag, and not PRE-EMPHASIS.
Go to the top of the page
+Quote Post
Hotsoup
post Sep 17 2014, 16:13
Post #56





Group: Members
Posts: 177
Joined: 16-March 12
From: Bellingham, WA
Member No.: 97852



QUOTE (eahm @ Sep 17 2014, 08:03) *
Is there an effective way to know if a CD/track has pre-emphasis?
I had a few in my collection that were known to have pre-emphasis: an old Dark Side of the Moon, New Order's Low-life (old Nimbus Factory disc), Journey's Frontiers (original US disc and Japan)... But I recently acquired two more discs from Japan on the Canyon label. I wouldn't have known unless dBpoweramp tagged them for me with %PRE-EMPHASIS% = Yes

IIRC, I believe there is a flag on the disc's TOC and/or subchanel information that lets EAC or dBpoweramp know and I'm not sure if any other ripping software besides iTunes accounts for these old discs (although some were or are still being manufactured for whatever reason).

This post has been edited by Hotsoup: Sep 17 2014, 16:17
Go to the top of the page
+Quote Post
eahm
post Sep 17 2014, 16:20
Post #57





Group: Members
Posts: 1323
Joined: 11-February 12
Member No.: 97076



QUOTE (Hotsoup @ Sep 17 2014, 08:13) *
I had a few in my collection that were known to have pre-emphasis: an old Dark Side of the Moon, New Order's Low-life (old Nimbus Factory disc), Journey's Frontiers (original US disc and Japan)... But I recently acquired two more discs from Japan on the Canyon label. I wouldn't have known unless dBpoweramp tagged them for me with %PRE-EMPHASIS% = Yes

Sorry for keeping OT... mostly for the Pink Floyd albums, what if you only have the files and not the discs anymore, I've never tried but can you scan with dBpa for that feature?
Go to the top of the page
+Quote Post
Hotsoup
post Sep 17 2014, 16:47
Post #58





Group: Members
Posts: 177
Joined: 16-March 12
From: Bellingham, WA
Member No.: 97852



QUOTE (lvqcl @ Sep 17 2014, 08:05) *
foo_dsp_effect also has its own deemph postprocessing. But IIRC it uses only PRE_EMPHASIS tag, and not PRE-EMPHASIS.
When I noticed this, I was definitely using PRE-EMPHASIS. I know nothing about your code (or coding in general, sorry) but is there some part of post-processing leftover even after removing the component(s)? I'm just spit-balling..

@eahm : To quote one of Greynol's old posts on the subject "apart from an educated guess? no." On the other hand, they'll probably sound especially bright when not de-emphasized. There's a pretty good list going here and on Steve Hoffman's forum of known pre-emph CDs.

This post has been edited by Hotsoup: Sep 17 2014, 17:30
Go to the top of the page
+Quote Post
eahm
post Sep 17 2014, 17:50
Post #59





Group: Members
Posts: 1323
Joined: 11-February 12
Member No.: 97076



QUOTE (Hotsoup @ Sep 17 2014, 08:47) *
@eahm : To quote one of Greynol's old posts on the subject "apart from an educated guess? no." On the other hand, they'll probably sound especially bright when not de-emphasized. There's a pretty good list going here and on Steve Hoffman's forum of known pre-emph CDs.

Yes, I saw both while ago, I'll ask again in the future, maybe they'll come up with something and I may have one or two albums only anyway. Thanks.
Go to the top of the page
+Quote Post
Hotsoup
post Sep 18 2014, 04:04
Post #60





Group: Members
Posts: 177
Joined: 16-March 12
From: Bellingham, WA
Member No.: 97852



QUOTE (lvqcl @ Sep 17 2014, 08:05) *
foo_dsp_effect also has its own deemph postprocessing. But IIRC it uses only PRE_EMPHASIS tag, and not PRE-EMPHASIS.

After getting back to the home office I was able to test this. You're right it was foo_dsp_effect and I didn't even make the mental connection to Mudlord's component, especially since it wasn't part of the DSP chain. FWIW, foo_dsp_effect also worked for the tag "PRE-EMPHASIS" and "Yes", not just "PRE_EMPHASIS" and "1". Thanks for the help. I don't know how I got so confused.

This post has been edited by Hotsoup: Sep 18 2014, 04:53
Go to the top of the page
+Quote Post
madman5150
post Dec 28 2014, 19:06
Post #61





Group: Members
Posts: 1
Joined: 28-December 14
Member No.: 118201



Hi, I have downloaded the foo_deemph.zip and have a few questions:

- Is there a set of step by step instructions that a novice can follow to install?

- I am using ASIO4all, does foo-deemph just sit in front of that and pass the processed signal to it?

- I gather the filter cuts in automatically ONLY when a pre-emphasised file is detected and that non pre-emphasised files will pass untouched. Is this correct?

- If so, how do I ensure that the relevant files have the correct flag/code.


Sorry for all the questions - I thought the zip would have an idiots guide text file. blink.gif

Thanks in advance.
Go to the top of the page
+Quote Post
lvqcl
post Dec 29 2014, 16:41
Post #62





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



1) "How do I install additional components?" from http://www.foobar2000.org/FAQ
2) This component doesn't interact with ASIO4ALL
3) Yes
4) From the 1st post in this thread: "add a tag named PRE_EMPHASIS or PRE-EMPHASIS with a value 1, on or yes"
Go to the top of the page
+Quote Post
milavla
post Apr 8 2015, 11:00
Post #63





Group: Members
Posts: 11
Joined: 2-May 11
Member No.: 90274



lvqcl What's the difference between 0.0.3 and 0.1.0 Version?

This post has been edited by milavla: Apr 8 2015, 11:03
Go to the top of the page
+Quote Post
lvqcl
post Apr 8 2015, 11:39
Post #64





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



0.0.3 works only with audio with 44100 Hz samplerate.

0.1.0 can apply deemph filter to audio with 44100, 48000, 88200, 96000, 176400, 192000 Hz samplerate.
Go to the top of the page
+Quote Post
milavla
post Apr 9 2015, 10:03
Post #65





Group: Members
Posts: 11
Joined: 2-May 11
Member No.: 90274



lvqcl thanks
Go to the top of the page
+Quote Post
Steve Forte Rio
post Jun 29 2015, 07:46
Post #66





Group: Members
Posts: 482
Joined: 4-October 08
From: Ukraine
Member No.: 59301



QUOTE
Postprocessing (foo_deemph): works only with lossless sources; always active during playback and ReplayGain scan.


Does it mean that it always performs frequency response correction, no matter if audio has pre-emphasis or not? Or it also needs some flags in audio data to start de-emphasis?

This post has been edited by Steve Forte Rio: Jun 29 2015, 07:50
Go to the top of the page
+Quote Post
Rollin
post Jun 29 2015, 11:35
Post #67





Group: Members
Posts: 221
Joined: 5-March 08
Member No.: 51815



QUOTE (Steve Forte Rio @ Jun 29 2015, 09:46) *
Does it mean that it always performs frequency response correction, no matter if audio has pre-emphasis or not? Or it also needs some flags in audio data to start de-emphasis?

No.
QUOTE (lvqcl @ Feb 11 2013, 00:58) *
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.
Go to the top of the page
+Quote Post
gism
post Jul 3 2015, 18:14
Post #68





Group: Members
Posts: 53
Joined: 6-January 10
Member No.: 76763



QUOTE (lvqcl @ Aug 19 2013, 20:24) *
Use postprocessing if you want to add correct ReplayGain tags to your files.
Use DSP if you have lossy files that you want to de-emphasize.
Otherwise, there's no difference.

I have image files with embedded cuesheet which is replaygained.
Excuse my ignorance, does this mean that I have to re-scan RG after any of these components is installed?
How do they affect RG values?
Go to the top of the page
+Quote Post
lvqcl
post Jul 3 2015, 18:39
Post #69





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



Pre-emphasis increases the loudness of audio, and de-emphasis decreases it. So it makes sense to calculate loudness after applying de-emphasis.

foo_deemph allows this, so you may re-scan albums with pre-emphasis to get better RG values. It's not necessary, but advantageous.

OTOH, foo_dsp_deemph is a usual DSP plugin. It's not possible to take it into account during RG analysis. So, if you use this component then there's no reason to re-scan files (and this means that their loudness will always be slightly off).
Go to the top of the page
+Quote Post
mjb2006
post Jul 3 2015, 22:09
Post #70





Group: Members
Posts: 1007
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



QUOTE
this means that their loudness will always be slightly off

Just in case anyone wonders how far off: on Dark Side of the Moon (first CD mastering), it's a difference of 0.03 to 0.08 dB for each track, and 0.05 dB for the whole album. I can't imagine it would be much higher on an album with more high-frequency content. So it's absolutely nothing to worry about. You probably can't detect differences of less than 0.5 dB even with test tones in headphones anyway; see http://www.audiocheck.net/blindtests_index.php.

This post has been edited by mjb2006: Jul 3 2015, 22:12
Go to the top of the page
+Quote Post
lvqcl
post Jul 3 2015, 22:52
Post #71





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



I have an image+cue for Dark Side of the Moon, and here the difference is 1.13 dB (album gain = +1.78 dB w/o de-emphasis, +2.91 with it). But even 1dB difference isn't that big actually.
Go to the top of the page
+Quote Post
mjb2006
post Jul 4 2015, 00:19
Post #72





Group: Members
Posts: 1007
Joined: 12-May 06
From: Colorado, USA
Member No.: 30694



Oh, good catch. I was actually comparing the wrong files!

When I do the R128-based RG scan against the original rip, with de-emphasis i get +2.86 dB, and without I get +1.78. So yes, about a 1 dB difference.

My old tags in the original rip said +2.91 instead of +2.86. This was where I was getting the 0.05 difference from. I'm guessing this is reflecting the use of different de-emphasis algorithms.
Go to the top of the page
+Quote Post
milavla
post Aug 28 2015, 08:19
Post #73





Group: Members
Posts: 11
Joined: 2-May 11
Member No.: 90274



lvqcl: foo_deemph works with any lossless sources (ape, wv) or only flac?
Go to the top of the page
+Quote Post
marc2003
post Aug 28 2015, 09:37
Post #74





Group: Members
Posts: 5599
Joined: 27-January 05
Member No.: 19379



read the first post... blink.gif

QUOTE
Plugins to do de-emphasis of pre-emphasized CDs:
* Postprocessing (foo_deemph): works only with lossless sources; always active during playback and ReplayGain scan.
* DSP plugin (foo_dsp_deemph): works with any source
Go to the top of the page
+Quote Post
lvqcl
post Aug 28 2015, 14:34
Post #75





Group: Developer
Posts: 3730
Joined: 2-December 07
Member No.: 49183



QUOTE (milavla @ Aug 28 2015, 10:19) *
lvqcl: foo_deemph works with any lossless sources (ape, wv) or only flac?

It works with any decoder that supports postprocessing service. Monkey's Audio and WavPack included. Maybe it won't work with the current OptimFROG decoder...
Go to the top of the page
+Quote Post

4 Pages V  < 1 2 3 4 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 2nd September 2015 - 03:49