[bug?] noise and downsampled poly~

Jan 12, 2012 at 12:39pm

[bug?] noise and downsampled poly~

The range of values that noise~ produces changes with downsampling.


  1. downsamplednoise.png
Jan 12, 2012 at 12:53pm

When trying to fix it with a pong~, it appears the problem goes deeper.
This is with max 6.0.3 on Lion.


  1. downsampling.png
Jan 12, 2012 at 1:05pm

isnt that because they changed how noise~ generates its ooutput with v.5?
if the new alg would somehow avoid that two or more peaks follow each other that would explain what you see.

Jan 12, 2012 at 3:57pm

This is caused by the new resampling filters. There’s some overshoot in the interpolation. When you turn it off, this goes away. (they’re on by default)

It looks like there’s some sort of sinc function at the discontinuity on the phasor. It’s pretty cool to watch. Also, check out the spectroscope for interpolation on or off. You can really see the resampling filters blocking everything above the new Nyquist rate.

If you look at the scope~ on the left you’ll see a smoothed noise function. Not a bug, just not maybe what you expected.

– Pasted Max Patch, click to expand. –

And the poly vox:

– Pasted Max Patch, click to expand. –


Jan 12, 2012 at 4:01pm

Forgot to include…

  1. Screenshot20120112at11.02.18AM.png
Jan 12, 2012 at 4:44pm

That makes perfect sense. I have seen the resampling mentioned, but forgot about it. Thanks.


You must be logged in to reply to this topic.