basic de-zippering question

James McCartney asynth at io.com
Sat Jan 15 12:44:02 EST 2000


At 9:14 AM -0700 1/15/00, Sukandar Kartadinata wrote:
>>You could transition the parameter over some period of time with a line
>>or some other curve.
>>You could low pass filter the parameter.
>
>I see
>and am I right to assume that the main difference between the two is wether
>you make the "smoothing" at sample rate or at control rate ?
>and that doing it at control rate might cost you less CPU cycles but will
>result in a laggy response ?

I'm not sure I understand the question, but you do smoothing for 
a few different reasons.
1. Your control source has an intermittent update that would result 
in a jagged response. An example is a Mouse which has a very slow
update rate.
2. Your control source is expensive to calculate so you want to do it
at a lower frequency and interpolate between. An example would be 
calculating filter coefficients.
3. Also it can be faster to do interpolation in registers than it is 
to read an audio rate signal from a buffer. By decreasing the memory 
bandwidth required to perform the calculation you can improve the
throughput.


   --- james mccartney     james at audiosynth.com   http://www.audiosynth.com
If you have a PowerMac check out SuperCollider2, a real time synth program:
<ftp://www.audiosynth.com/pub/updates/SC2.2.4.sea.hqx>





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/




More information about the music-dsp mailing list