Generate pink noise
The concatenation of multiple pink noise vectors does not result in pink noise. For
streaming applications, use dsp.ColoredNoise
.
Pink noise is generated by passing uniformly distributed random numbers through a series of randomly initiated SOS filters. The resulting pink noise amplitude distribution is quasi-Gaussian and bounded between −1 and 1. The resulting pink noise power spectral density (PSD) is inversely proportional to frequency:
dsp.ColoredNoise
| rand
| rng