[music-dsp] Please check out my compressor ...

Furi Andi Karnapi EFuri at ntu.edu.sg
Thu Dec 11 19:33:01 EST 2003


Hi,

Regarding RMS detection and even the whole dynamic range controller stuffs, you can refer to "Digital Audio Signal Processing" by Udo Zolzer, John Wiley & Sons page 210 in the Jul 1998 printing. Hope this can help.


Regards,
Furi

-----------------------------------------------
Furi Andi Karnapi
DSP Lab S2-B4a-03
School of EEE, Nanyang Tech. University
Singapore 639798
Phone: +65-6790-6901
-----------------------------------------------
-----Original Message-----
From: Citizen Chunk [mailto:citizenchunk at nyc.rr.com] 
Sent: Friday, December 12, 2003 10:50 AM
To: music-dsp at shoko.calarts.edu
Subject: Re: [music-dsp] Please check out my compressor ...

Chris:

thank you! you were absolutely right! i'm still making a lot of 
mistakes, and one of them was to think that the prossess() and 
processReplacing() functions were called once at the beginning of 
playback. stoopid me!

i initialized all of the runtime variables in the constructor, and 
voilá! no more horrible clicking noise with heavy compression. it still 
doesn't sound very transparent, but it's much improved. i wish i could 
post the build right now, but i'm having server problems--another story 
...

hey, now that i've established that you're actually reading my posts, 
do you think you could help me get a handle on a few basic concepts? 
i'm trying to understand how to implement a soft-knee. i found some 
soft saturation code in the musicdsp.org archive, but i fail to 
understand where to put the code in my plugin, and what variable go 
where. could you offer some advice on that?

also, what about rms detection?

i'm sorry for so many stupid questions, but i am just learning this 
stuff as i go along. this practical stuff wasn't covered in the DSP 
guide textbook. ;)

thanks again!

On Dec 11, 2003, at 6:10 PM, Christoph Jung wrote:

> Hi Citizen,
>
> i just had a look at your compressor algo.
>
> Before having taken a further look at your mathematical expressions, 
> there's one
> thing that jumped at me:
>
> Why do you initialize the "Sidechain" and "Envelope" variables in the 
> process
> functions? This way, they are repeatingly reset to zero each time the 
> process
> functions are called by the VST host and a new sample frame is 
> transmitted to
> your plug.
>
> On my opinion, the compressor cannot behave correctly this way.
> Try initializing the two variables in your PCML constructor instead.
>
> Regards
> Chris
>
>
> dupswapdrop -- the music-dsp mailing list and website: subscription 
> info, FAQ, source code archive, list archive, book reviews, dsp links 
> http://shoko.calarts.edu/musicdsp 
> http://ceait.calarts.edu/mailman/listinfo/music-dsp
>


dupswapdrop -- the music-dsp mailing list and website: 
subscription info, FAQ, source code archive, list archive, book reviews, dsp links 
http://shoko.calarts.edu/musicdsp 
http://ceait.calarts.edu/mailman/listinfo/music-dsp




More information about the music-dsp mailing list