BROWN

Brown noise instrument.

in RTcmix/insts/neil


quick syntax:

BROWN(outsk, dur, AMP[, PAN])

CAPITALIZED parameters are pfield-enabled for table or dynamic control (see the maketable or makeconnection scorefile commands). Parameters after the [bracket] are optional and default to 0 unless otherwise noted.

Param Field Parameter Units Dynamic Optional Notes
p0 output start time seconds no no  
p1 duration seconds no no  
p2 amplitude absolute, for 16-bit soundfiles: 0-32768 yes no  
p3 pan 0-1 stereo; 0.5 is middle yes yes default: .5

Parameters labled as Dynamic can receive dynamic updates from a table or real-time control source.

Author: Neil Thornock (neilthornock at gmail), 11/12/16


BROWN is based on an algorithm by Andrew Simper, who credits these people, mainly from the music-dsp mailing list: Allan Herriman, James McCartney, Phil Burk and Paul Kellet, and the web page by Robin Whittle.

Usage Notes

Output may be mono or stereo.

Sample Score

   rtsetparams(44100, 2)
   load("BROWN")

   BROWN(0, dur=100, amp=4000, pan=0.5)

See Also

CRACKLE, DUST, HENON, IIR, LATOOCARFIAN, NOISE, PINK