Pink noise in gen~

Artur Dobija's icon

Hello!

Is there any simple method to create pink noise in gen (like pink~ does it)? I found only this code by Woyteg, but that looks expensive and not optimalized.

Max Patch
Copy patch and select New From Clipboard in Max.

Thank you from your answers!

bertrandfraysse's icon

here is a code I found on github (don't remember who wrote it)
it's roughly the same technique used by Woyteg, even more complicated :-)

Max Patch
Copy patch and select New From Clipboard in Max.

Artur Dobija's icon

Thank you! Looks much nicer.

Well, in my patch I connected [pink~] to my gen and it's working much better. I am working on the way to "distort" the signal by adding to the frequency's value some random stuff. I found that pink noise gives much better effect than white. Also [pink~] object gave much more convincing effect than the code I copied. I will try with the [gen~] you gave me and post here the result :)