🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.dsp
Article #1456

Re: Want algorithm to generate 1/f time series

#1456
From: Tom Holroyd
Date: Sun, 10 Feb 1991 22:08
17 lines
1144 bytes
rjk@sequent.uucp (Robert Kelley) writes:

> There are some obvious ways to generate 1/f time series, one way that
> comes to mind is to use an fft.  What I really want to do, is to generate
> a pseudo-random time series such that the spectral energy varies as 1/f
> (or, more generally, 1/(f**n)).

Use a random walk.  [1] x = 0.  [2] r = random integer.
[3] if r is odd, add 1 to x, else subtract 1 from x.
[4] output x. [5] goto [2].

I'm not sure how to control the exponent in 1/(f**n) tho.
Maybe increase the dimensionality of the walk?  Anybody else know?

Tom Holroyd
FAU Center for Complex Systems
tomh@bambi.ccs.fau.edu
Technical Details
Message-ID: <kDB7w2w163w@shark.cs.fau.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!uflorida!cs.fau.edu!tomh
References: <52654@sequent.UUCP>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!gatech!uflorida!cs.fau.edu!tomh
From: tomh.bbs@shark.cs.fau.edu (Tom Holroyd)
Newsgroups: comp.dsp,sci.math,comp.music
Subject: Re: Want algorithm to generate 1/f time series
Message-ID: <kDB7w2w163w@shark.cs.fau.edu>
Date: 10 Feb 91 22:08:55 GMT
References: <52654@sequent.UUCP>
Sender: bbs@cs.fau.edu (Waffle BBS)
Organization: Florida Atlantic University
Lines: 17