Forums > MaxMSP

noise not so noisy?

Aug 15 2012 | 12:24 am

Hey I discovered something that needs explaining.

If you sample the output from noise~ at a rate equal to 2^N samples, you get a regular patternation. Same in gen as well. The patterns alter when you alter the sig vector and/or the IO vector too.

It seems to me that the noise generating algorithm is not so random. Have a look at the patch below to see what I mean. At first I thought it was just the calcount of scope doing some sort of visual aliasing, but from my little sonification using cycle~ there is evidently more to it than ‘meets the eye’. Can anyone account for this?

-- Pasted Max Patch, click to expand. --

I haven’t tried it using pink~, maybe someone can check that too…

Aug 15 2012 | 1:10 pm


I’ve written in the past (ie Max 4 days) about various issues with [random] and [noise~]. The core RNG used then was taken from an algorithm published in Numerical Recipes, which was fairly fast but not a serious random number generator. I’m not sure if this algorithm is still being used (there are lots of better ones) but your example patch would seem to indicate that the answer is yes.

Speaking of other RNG algorithms, I plugged [lp.shhh~], the white noise generator from Litter Power, into your patch and the results were delightfully non-deterministic.

Aug 15 2012 | 10:05 pm

It’s a pity that gen~ evidently suffers from the same problem.

A quick look at pink~ shows it doesn’t cycle through the same way, which is good.

I’d would be great if c74 could address this in the next incremental.

Viewing 3 posts - 1 through 3 (of 3 total)

Forums > MaxMSP