|
|||||||
![]() |
|
|
LinkBack (6) | Thread Tools |
|
|
#1
|
|
S-3D enthusiast
|
Noise Sharpening plugin
It is based on Mr. ssamadhi97 of the Foobar2000 forums plugin named foo_dsp_delta that has noise sharpening. Some people were looking for such a plugin. It simply adds the derivative of the input to the output. I haven't seen his code but I think my plugin does the same thing.
50% on my plugin is the same as 100% on Mr. ssamadhi97 plugin. 100% on my plugin is the same as 200% on his plugin. Here it is (Paste this into notepad and save as a *.da file) : Code:
; New microcode name "Noise Sharpening"; copyright "Copyright (c) 2004. by Tril"; created "05/11/2005"; engine "kX"; ; comment ""; guid "b0639f05-8c92-4445-ac83-3795797bcef8"; ; -- generated GUID input inL, inR; output outL, outR; control Sharpen=0.5; static pL, pR; previous Left, previousRight static dL, dR; derivative Left, derivative Right static bL, bR; buffer Left, buffer Right ; code macs bL, inL, 0, 0; bL = inL macs bR, inR, 0, 0; bR = inR macints dL, bL, pL, 0xffffffff; dL = bL - pL macints dR, bR, pR, 0xffffffff; dR = bR - pR macs outL, 0, dL, Sharpen; outL = dL * Sharpen macs outR, 0, dR, Sharpen; outR = dR * Sharpen macints outL, 0, outL, 2; outL = outL * 2 macints outR, 0, outR, 2; outR = outR * 2 macints outL, bL, outL, 0x1; outL = bL + outL macints outR, bR, outR, 0x1; outR = bR + outR macs pL, bL, 0, 0; pL = bL macs pR, bR, 0, 0; pR = bR end Last edited by Tril; Dec 22, 2006 at 04:06 PM. Reason: added "Paste this into notepad and save as a *.da file" |
|
|
|
|
|
#2 |
|
kX user
Join Date: Apr 2004
Posts: 851
Rep Power: 0 ![]() |
Interesting, I'm a bit puzzled about the code:
macs dL, bL, -1, pL; macsn outL, bL, -1, outL; Why have you used such a code?
__________________
Miss you, Steve... |
|
|
|
|
|
#3 |
|
S-3D enthusiast
|
Do you mean that I could have used
macsn dL, bL, 1, pL; macs outL, bL, 1, outL; I heard Russ talking about 1 not being exactly 1 (0.999..) and -1 being exactly -1. I don't exactly remember when that applied. Since then, I got into the habit of using -1 instead of 1 in my code when possible. The code does the same thing and it's not really harder to understand. EDIT : I think the code I posted does not work exactly as it should. If I put the slider at zero, when bypassed and not bypassed it should sound the same. It may not be a good idea with the current code to use outL and outR many times or maybe the mistake is elsewere. Last edited by Tril; May 11, 2005 at 03:52 PM. |
|
|
|
|
|
#4 |
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 487
Rep Power: 0 ![]() |
it is giving me an "error: invalid plugin library" (I copy and pasted the latter code into the kx editor and saved it as a *.da... any ideas why it wont register?)
__________________
COMP: Dual Intel PIII 733 Mhz; GeForce 4 Ti 4600; 1.128 Gb RAM; SB0350 (Audigy 2 ZS Platnium) STEREO(I UPGRADED):Crown Audio K1 and K2 amplifiers (4000 watts at .1% THD ), JL 13w7 Subwoofer (6.5 CF) (2) 18" PR's, Klipsch SB-1's, some cement blocks for speaker stands...
|
|
|
|
|
|
#5 |
|
d/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,400
Rep Power: 47 ![]() |
make sure that there's a new line after "end" in a saved file
|
|
|
|
|
|
#6 |
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 487
Rep Power: 0 ![]() |
Good call; thanks max!
__________________
COMP: Dual Intel PIII 733 Mhz; GeForce 4 Ti 4600; 1.128 Gb RAM; SB0350 (Audigy 2 ZS Platnium) STEREO(I UPGRADED):Crown Audio K1 and K2 amplifiers (4000 watts at .1% THD ), JL 13w7 Subwoofer (6.5 CF) (2) 18" PR's, Klipsch SB-1's, some cement blocks for speaker stands...
|
|
|
|
|
|
#7 |
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 487
Rep Power: 0 ![]() |
Tril; this plugin works perfectly from what I can see (hear). Thank you for your work on this. It is very much appreciated.
__________________
COMP: Dual Intel PIII 733 Mhz; GeForce 4 Ti 4600; 1.128 Gb RAM; SB0350 (Audigy 2 ZS Platnium) STEREO(I UPGRADED):Crown Audio K1 and K2 amplifiers (4000 watts at .1% THD ), JL 13w7 Subwoofer (6.5 CF) (2) 18" PR's, Klipsch SB-1's, some cement blocks for speaker stands...
|
|
|
|
|
|
#8 |
|
DriverHeaven Junior Member
|
Thanks Tril, will be trying this out.
__________________
[COLOR=royalblue]WinXP Home SP3 // Kx3545 // SB Live! 5.1 SB0222 10k1 [ff80](e880?) // Maxthon 2.1.3[/COLOR]
|
|
|
|
|
|
#9
|
|
S-3D enthusiast
|
I'm glad I could help.
What this plugin does is simple so it was not too hard to implement.
|
|
|
|
|
|
#10 | |
|
DriverHeaven Maniac
|
Quote:
This plugin works like DFX Audio Enhancement (for WMP, WinAMp, etc), and such applications. DFX, for example, cost $30.00. It has five different sliders for adjusting the percentage of fidelity, stereo ambience, 3D surround effect, dynamics and such, but it uses software processing which uses CPU power, and can sound artificial at times.Fantastically, this plugin you wrote uses hardware for processing, sounds like pure sound audio enhanement , and it's free! So, it's more favorable, even though it doesnt have sliders to adjust the different audio enhancement areas as the commercial products. Yet, the audio enhanement acheived by this plugin you wrote is clear and definitely and improved sound! Maybe you rewrote and edited the 2nd code above because the 0 % and bypass function does seem to have the same level no effect to me. I think NappyLaddy may be pleased to see this. Thanks for another nice additional plugin.
__________________
![]() May a song always touch you in a positive way. Sonar 8 Producer Edition, Vista Ultimate 64Bit, MOTU UltraLite MK3, 250 GB HDD 7200 rpm, 80 GB HDD 7200 rpm, Lite-On DVDRW LH 18A1P My Music Production: Top 40, Contemporary Christian, Pop/Rock, Decent Rap, Inspirationals, and Children Songs Last edited by thomasabarnes; May 12, 2005 at 10:42 AM. |
|
|
|
|
|
|
#11 |
|
DriverHeaven Newbie
Join Date: Feb 2005
Posts: 10
Rep Power: 0 ![]() |
Thanks very much for this plugin Tril. I was using a WinAmp noise sharpening plugin before this and in my opinion this sounds much better and its easier to use. Great Work!
Temp |
|
|
|
|
|
#12 | |
|
DriverHeaven Extreme Member
Join Date: Jan 2005
Posts: 4,828
Rep Power: 41 ![]() ![]() ![]() |
Quote:
i.e. macints R, A, X, 0x1; R = A + X macints R, A, X, 0xffffffff; R = A - X macints R, A, 0x80000000, 0x1; R = A - 1 macints R, A, 0x80000000, 0xffffffff; R = A + 1 In any case, you should use whichever method you find easier to understand when looking over your own code, etc. -Russ BTW: I noticed a mistake in the first code you posted. macsn outL, bL, -1, outL; macsn outR, bR, -1, outL; <------- Should be outR |
|
|
|
|
|
|
#13 | |
|
S-3D enthusiast
|
Quote:
Russ, what you are saying is interesting. I always tought that the integer in macints could only be positive as that is what I saw in the examples of the guide. I'll correct the first code I posted, delete the second code and modify the first one a little to use macints. It's not really necessary but I'll still do it. |
|
|
|
|
|
|
#14 |
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 487
Rep Power: 0 ![]() |
Thanks for standing by (updating and providing future support) your plugins Tril.
__________________
COMP: Dual Intel PIII 733 Mhz; GeForce 4 Ti 4600; 1.128 Gb RAM; SB0350 (Audigy 2 ZS Platnium) STEREO(I UPGRADED):Crown Audio K1 and K2 amplifiers (4000 watts at .1% THD ), JL 13w7 Subwoofer (6.5 CF) (2) 18" PR's, Klipsch SB-1's, some cement blocks for speaker stands...
|
|
|
|
|
|
#15 |
|
S-3D enthusiast
|
If you look at the equations you see that what this plugin does is really simple. It substracts the last sample from the current sample and adds that to the current sample. It's impressive that such a basic operation can change the sound so much.
|
|
|
|
|
|
#16 |
|
d/h member-shmember
Join Date: Dec 2002
Location: Evil Empire
Posts: 2,400
Rep Power: 47 ![]() |
yep, it's a plain high-shelving filter with boost (0...15dB) above Fs/8 (~6kHz)
|
|
|
|
|
|
#17 |
|
DriverHeaven Senior Member
Join Date: Mar 2004
Posts: 1,745
Rep Power: 0 ![]() |
This is cool, it's noticable. I can't test it right now loudly...See, this is the kind of that would just get lost in the threads after a while. I wish a person would host a site with all the submitted plugs listed..but anyway...thx tril.
|
|
|
|
|
|
#18 |
|
DriverHeaven Junior Member
Join Date: Jun 2006
Posts: 47
Rep Power: 0 ![]() |
Thank you for the plugin, can someone compile it to 3538 series
As i get "wrong plugin library" error with 3538, i"ll be grateful if someone can fix this problem |
|
|
|
|
|
#19 |
|
Tail Razer
Join Date: Jun 2005
Location: Bernyurass, AZ - USA
Posts: 4,027
Rep Power: 36 ![]() ![]() |
did you make sure you added an extra line after the 'end' in the KX editor?
It doesnt need compiling - as its 'dane' only code. |
|
|
|
|
|
#20 |
|
DriverHeaven Junior Member
Join Date: Mar 2006
Posts: 34
Rep Power: 0 ![]() |
Hmmm...
First time I'm glad someone necroposted in a thread. Nice plugin. I used to have 2 highshelves: 1) 6000Hz-24000Hz +12.0dB 0.7 Slope 2) 12500Hz-24000Hz +12.0dB 0.9 Slope But this one is even better as a treble booster. But it doesn't only boost.. it makes MP3s sound like CD audio tracks. Some sort of a crystallizer. |
|
|
|
|
|
#21 |
|
DriverHeaven Lover
Join Date: Jul 2006
Posts: 133
Rep Power: 0 ![]() |
How do I get this?
|
|
|
|
|
|
#22 |
|
DriverHeaven Senior Member
Join Date: Jan 2004
Location: St. Cloud, MN
Posts: 487
Rep Power: 0 ![]() |
Paste this into notepad and save as a *.da file
; New microcode
name "Noise Sharpening"; copyright "Copyright (c) 2004. by Tril"; created "05/11/2005"; engine "kX"; ; comment ""; guid "b0639f05-8c92-4445-ac83-3795797bcef8"; ; -- generated GUID input inL, inR; output outL, outR; control Sharpen=0.5; static pL, pR; previous Left, previousRight static dL, dR; derivative Left, derivative Right static bL, bR; buffer Left, buffer Right ; code macs bL, inL, 0, 0; bL = inL macs bR, inR, 0, 0; bR = inR macints dL, bL, pL, 0xffffffff; dL = bL - pL macints dR, bR, pR, 0xffffffff; dR = bR - pR macs outL, 0, dL, Sharpen; outL = dL * Sharpen macs outR, 0, dR, Sharpen; outR = dR * Sharpen macints outL, 0, outL, 2; outL = outL * 2 macints outR, 0, outR, 2; outR = outR * 2 macints outL, bL, outL, 0x1; outL = bL + outL macints outR, bR, outR, 0x1; outR = bR + outR macs pL, bL, 0, 0; pL = bL macs pR, bR, 0, 0; pR = bR end
__________________
COMP: Dual Intel PIII 733 Mhz; GeForce 4 Ti 4600; 1.128 Gb RAM; SB0350 (Audigy 2 ZS Platnium) STEREO(I UPGRADED):Crown Audio K1 and K2 amplifiers (4000 watts at .1% THD ), JL 13w7 Subwoofer (6.5 CF) (2) 18" PR's, Klipsch SB-1's, some cement blocks for speaker stands...
|
|
|
|
|
|
#23 |
|
DriverHeaven Lover
Join Date: Jul 2006
Posts: 133
Rep Power: 0 ![]() |
Thanks
In notepad I typed in kx on the next line after end to enable the plug to register |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|
LinkBacks (?)
LinkBack to this Thread: http://www.driverheaven.net/effects-dsp/74630-noise-sharpening-plugin.html
|
||||
| Posted By | For | Type | Date | |
| WINAMP.COM | Forums - Noise Sharpening plugin? | Post #0 | Refback | Jun 21, 2009 05:33 PM | |
| WINAMP.COM | Forums - Noise Sharpening plugin? | Post #0 | Refback | Jun 17, 2009 01:03 AM | |
| WINAMP.COM | Forums - Noise Sharpening plugin? | Post #0 | Refback | Dec 25, 2008 03:37 PM | |
| WINAMP.COM | Forums - Noise Sharpening plugin? | Post #0 | Refback | Sep 7, 2008 06:01 AM | |
| WINAMP.COM | Forums - Noise Sharpening plugin? | Post #0 | Refback | Aug 15, 2008 07:14 AM | |
| Better Sound In EMU10 Based Cards - Neowin Forums | This thread | Refback | Apr 26, 2008 09:37 AM | |