IPB

Welcome Guest ( Log In | Register )

De-emphasis components, Postprocessor and a DSP plugin
lvqcl
post Feb 10 2013, 22:58
Post #1





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



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


* 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.
* There's no reason to use both components at the same time.
* Don't use both foo_deemph and foo_dsp_effect (the latter has its own de-emphasis postprocessor).
* Note that even foo_dsp_deemph works only when a track is tagged: just adding it to the list of active DSPs is not enough to make it work.

Version 0.0.3:
Postprocessing plugin (works only with lossless sources): Attached File  foo_deemph.zip ( 47.29K ) Number of downloads: 779
DSP plugin: Attached File  foo_dsp_deemph.zip ( 53.33K ) Number of downloads: 546
sources: Attached File  deemph_sources.rar ( 9.59K ) Number of downloads: 177

Version 0.1.0:
Postprocessing plugin (works only with lossless sources): Attached File  foo_deemph_0.1.0.zip ( 47.79K ) Number of downloads: 54
DSP plugin: Attached File  foo_dsp_deemph_0.1.0.zip ( 53.78K ) Number of downloads: 39
sources: Attached File  deemph_sources_0.1.0.rar ( 9.84K ) Number of downloads: 22



This post has been edited by lvqcl: Apr 25 2014, 19:29
Go to the top of the page
+Quote Post
 
Start new topic
Replies
lvqcl
post Feb 14 2013, 16:01
Post #2





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



foo_dsp_effect postprocessing service vs. SoX:



If you want to use foo_dsp_effect de-emph IIR DSP filter then you should select the last option: "High shelf" (some bug in its code, apparently). Also, there should be no PRE_EMPHASIS tag in the file.
But even without this bug, foo_dsp_effect curve is noticeably steeper.

This post has been edited by lvqcl: Feb 14 2013, 20:32
Go to the top of the page
+Quote Post
nu774
post Feb 15 2013, 04:03
Post #3





Group: Developer
Posts: 514
Joined: 22-November 10
From: Japan
Member No.: 85902



Quickly glanced at the code: https://github.com/FauxFaux/foo_mudlord/blo.../iirfilters.cpp
Seems basically the same as biquad filter implementation of SoX, but is using sqrt(A + A) instead of 2 * sqrt(A) in SoX.

BTW doesn't fb2k read "FLAGS PRE" in cuesheet? It would be nice if fb2k reads it as metadata, and this plugin could be applied to it.
Go to the top of the page
+Quote Post

Posts in this topic
- lvqcl   De-emphasis components   Feb 10 2013, 22:58
- - Porcus   Nice. QUOTE (lvqcl @ Feb 10 2013, 22:58)...   Feb 10 2013, 23:34
- - mudlord   I should deprecate deemphasis support and just get...   Feb 11 2013, 04:50
|- - Sandrine   Why another component? Mudlord already had a nice ...   Feb 11 2013, 09:39
|- - Porcus   QUOTE (Sandrine @ Feb 11 2013, 09:39) Why...   Feb 11 2013, 12:12
|- - Sandrine   QUOTE (Porcus @ Feb 11 2013, 13:12) it st...   Feb 12 2013, 00:20
|- - Porcus   QUOTE (Sandrine @ Feb 12 2013, 00:20) QUO...   Feb 12 2013, 01:18
- - lvqcl   QUOTE (Porcus @ Feb 11 2013, 02:34) Assum...   Feb 12 2013, 16:58
|- - Porcus   QUOTE (lvqcl @ Feb 12 2013, 16:58) QUOTE ...   Feb 12 2013, 20:37
- - mudlord   But end users might not want the extra DSPs, like ...   Feb 12 2013, 21:43
|- - Porcus   QUOTE (mudlord @ Feb 12 2013, 21:43) But ...   Feb 13 2013, 14:30
|- - mudlord   thank you for alerting me to the bugs, I really sh...   Feb 16 2013, 12:11
- - mjb2006   I just tested with a sine sweep, generated with So...   Feb 14 2013, 05:44
- - lvqcl   foo_dsp_effect postprocessing service vs. SoX: ...   Feb 14 2013, 16:01
|- - nu774   Quickly glanced at the code: https://github.com/Fa...   Feb 15 2013, 04:03
- - mjb2006   Something else of note: foo_convolve results in mo...   Feb 14 2013, 18:29
|- - lvqcl   QUOTE (mjb2006 @ Feb 14 2013, 21:29) Some...   Feb 14 2013, 18:36
- - mjb2006   Oh, thanks...that did the trick. All is well with ...   Feb 15 2013, 00:57
- - Sandrine   I forgot to say thanks for keeping tag support the...   Feb 16 2013, 19:02
- - kumbbl   How good is the de-emphasis applied by the foo_dee...   Feb 17 2013, 19:59
|- - lvqcl   QUOTE (kumbbl @ Feb 17 2013, 22:59) How g...   Feb 17 2013, 22:03
|- - mjb2006   I'm just eyeballing graphical frequency-analys...   Feb 17 2013, 22:19
- - kumbbl   just tested with some preemphasis CDs and works li...   Feb 18 2013, 16:55
|- - kumbbl   QUOTE (kumbbl @ Feb 18 2013, 09:55) just ...   Feb 19 2013, 05:59
- - mjb2006   With mudlord's new DLL I'm getting the sam...   Feb 18 2013, 21:03
- - mudlord   needs rewriting i suppose. people can use lvqcl...   Feb 19 2013, 00:57
- - mudlord   fair enough. in the foo_dsp_effect thread, I made ...   Feb 19 2013, 10:39
- - mjb2006   The latest update to foo_dsp_effect has resolved t...   Feb 19 2013, 23:21
- - EpicForever   OK, I have the question - what is the practical di...   Feb 24 2013, 19:49
- - lvqcl   I highlighted the relevant part in the 1st post wi...   Feb 24 2013, 20:06
- - EpicForever   That blue text was there before I asked the questi...   Feb 24 2013, 20:17
- - lvqcl   The text was there, the color wasn't   Feb 24 2013, 21:20
- - ManekiNeko   QUOTE (lvqcl @ Feb 10 2013, 22:58) * To d...   May 6 2013, 00:52
- - lvqcl   If all tracks were made with pre-emphasis then you...   May 6 2013, 15:35
- - Porcus   Is there any reason why these components are not i...   May 9 2013, 19:29
- - themanintheshadows_2451   QUOTE (lvqcl @ Feb 10 2013, 23:58) * To d...   Jun 26 2013, 21:07
- - themanintheshadows_2451   Added PRE_EMPHASIS to the file names, nothing. Als...   Jun 27 2013, 00:57
- - marc2003   you add tags via the properties dialog. highlight ...   Jun 27 2013, 01:01
- - themanintheshadows_2451   Finally got the damn thing to work. The results? N...   Jun 27 2013, 07:51
- - drSeehas   I have two questions: What does "always activ...   Aug 18 2013, 08:33
|- - lvqcl   QUOTE (drSeehas @ Aug 18 2013, 11:33) Wil...   Aug 18 2013, 09:14
|- - drSeehas   QUOTE (lvqcl @ Aug 18 2013, 10:14) ... As...   Aug 19 2013, 17:08
|- - db1989   QUOTE (drSeehas @ Aug 19 2013, 17:08) BUT...   Aug 19 2013, 17:54
|- - drSeehas   QUOTE (db1989 @ Aug 19 2013, 18:54) ... W...   Aug 19 2013, 18:14
- - EpicForever   QUOTE (themanintheshadows_2451 @ Jun 27 2013,...   Aug 18 2013, 08:55
- - lvqcl   Use postprocessing if you want to add correct Repl...   Aug 19 2013, 19:24
- - SEMteXXL   @lvqcl Thanks for this very interesting alternati...   Dec 16 2013, 13:17
- - SEMteXXL   Ok I tried some files which I de-emphasized by thi...   Dec 16 2013, 14:21
- - lvqcl   QUOTE (SEMteXXL @ Dec 16 2013, 16:17) My ...   Dec 16 2013, 17:40
|- - SEMteXXL   QUOTE (lvqcl @ Dec 16 2013, 10:40) QUOTE ...   Dec 16 2013, 18:48
- - lvqcl   No, it is implemented as a biquad filter, it doesn...   Dec 16 2013, 18:58
- - SEMteXXL   I see. I tried a little with status bar syntax and...   Dec 16 2013, 20:17


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: 31st July 2014 - 14:38