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

Citizen Chunk citizenchunk at nyc.rr.com
Fri Dec 12 15:40:01 EST 2003


thanks, Furi! i'll check it out.

On Dec 12, 2003, at 1:09 AM, Furi Andi Karnapi wrote:

> Hi,
>
> I'm not sure about DAFX book. Anyway, the RMS measurement equation is 
> xRMS(n) = (1 - TAV).xRMS(n - 1) + TAV.x^2(n), where TAV is an 
> averaging coefficient. You need to take the square root of xRMS(n) to 
> get the RMS value.
>
> 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 1:28 PM
> To: music-dsp at shoko.calarts.edu
> Subject: Re: [music-dsp] Please check out my compressor ...
>
> whoa! that's an expensive textbook!
>
> i noticed (on Amazon.com) that there is another book by the same author
> called "DAFX: Digital Audio Effects". do you have any experience with
> that text as well? if so, which one is overall better for a beginner?
> if i am going to drop $100+ on a textbook, it had better be the right
> one!
>
> again, thanks for the tip.
>
> On Dec 11, 2003, at 10:22 PM, Furi Andi Karnapi wrote:
>
>> 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
>>
>> 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
>
> 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