Skip to content

pinker

Generates pink noise (-3dB/oct response) by the NewShade of Pink algorithm of Stefan Stenzel.

Syntax

ares = pinker()
ares pinker

Performance

pinker generates pink noise (i.e., noise with equal energy in each octave), by the algorithm of Stefan Stenzel. For details of the algorithm look at http://stenzel.waldorfmusic.de/post/pink/.

Examples

Here is an example of the pinker opcode. It uses the file pinker.csd.

Example of the pinker opcode.
<CsoundSynthesizer>

<CsInstruments>
ksmps = 12
nchnls = 1
0dbfs = 1

instr 1
  a1 pinker
     out    a1
endin
</CsInstruments>

<CsScore>
i1 0 10
e
</CsScore>

</CsoundSynthesizer>

See also

Random (Noise) Generators

Credits

Authors: Stefan Stenzel and John ffitch
University of Bath/Codemist Ltd.
Bath, UK
May 2014

New in Csound Version 6.04