Summary

Create pink noise, using Stefan Stenzel's "New Shade Of Pink" algorithm.

Audio Connections

PortPurpose
Out 0Pink Noise

Functions

amplitude(level);

Set the output peak level, from 0 (off) to 1.0. The default is off. Noise is generated only after setting to a non-zero level.

Examples

File > Examples > Audio > MemoryAndCpuUsage

Notes

Setting the amplitude to zero causes this object to stop using CPU time. CPU usage is approx 3% on Teensy 3.1.

Stefan Stenzel's New Shade Of Pink algorithm. Stefan's terms of use are "Use for any purpose. If used in a commercial product, you should give me one."