Csound Csound-dev Csound-tekno Search About

brown noise

Date2006-01-29 14:21
From"caseybach (sent by Nabble.com)"
Subjectbrown noise
Does anyone know of a simple way to generate Brown noise in Csound?

Casey

View this message in context: brown noise
Sent from the Csound - General forum at Nabble.com.

Date2006-01-29 14:59
FromRichard Dobson
SubjectRe: brown noise
caseybach (sent by Nabble.com) wrote:
> Does anyone know of a simple way to generate Brown noise in Csound?
> 
> Casey

White noise through a 1st order lowpass IIR filter, for a 6dB/Oct slope:

kbrown init 1
asig noise iamp,kbrown

If you want it "light brown", decrease kbrown; the slope will kick in at a 
higher frequency.

Richard Dobson


Date2006-01-29 15:18
FromRichard Dobson
Subjectpetsupermarket back again...
The "Antispam" nonsense again!

I have presumably triggered it in my reply to Casey.
Does this have anything to do with www.nabble.com?

Hopefully what stopped it before will work again...

Richard Dobson




Date2006-01-29 15:33
From"caseybach (sent by Nabble.com)"
SubjectRe: brown noise
thanks richard!

actually i was playing with that and noticed that you get zero sound if the value is 1. why do you think that is?

Casey

View this message in context: Re: brown noise
Sent from the Csound - General forum at Nabble.com.

Date2006-01-29 15:51
FromRichard Dobson
SubjectRe: brown noise
caseybach (sent by Nabble.com) wrote:

> thanks richard!
> 
> actually i was playing with that and noticed that you get zero sound if 
> the value is 1. why do you think that is?

Sorry, didn't look at the formula in the docs closely enough: use something like 
0.999. Lower values may well be OK too - but always good to check with an FFT 
that can display on log scales, such as CoolEdit/Audition or Audacity.

Richard Dobson




Date2006-01-29 16:00
From"caseybach (sent by Nabble.com)"
SubjectRe: brown noise
Thanks for the help, you solved the problem. I think a value of about .995 will suite my purposes. It is practically indistuingishable from the brown noise generator in Wavelab 5, which sounds quite good.

View this message in context: Re: brown noise
Sent from the Csound - General forum at Nabble.com.