Xref: utzoo comp.dsp:1247 sci.math:15030 comp.music:2544 Path: 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: 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 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