How do I generate 1/f (pink) noise in Python
josegomez at gmx.net
josegomez at gmx.net
Mon Apr 8 07:26:00 EDT 2002
Max M <maxm at mxm.dk> wrote:
> I am dabling in algorithmical composition and at times I need to
> generate random values. Often the values should have the characteristics
> of pink noise (1/f).
I am not too sure of this. Certainly, it looks more like an
application of Numeric, but you can get a relatively easy to
impelement algorithm from
<http://www.firstpr.com.au/dsp/pink-noise/>. Basically, you generate
white noise (uniform distribution), and then you filter it to produce
pink noise.
Hope that is of some help,
Jose
--
José L Gómez Dans PhD student
Tel: +44 114 222 5582 Radar & Communications Group
FAX; +44 870 132 2990 Department of Electronic Engineering
University of Sheffield UK
More information about the Python-list
mailing list