|Home · Standalone · rtcmix~ · iRTcmix · Tutorials · Reference|
an open-source digital signal processing and sound synthesis language
|about · links · contact|
BROWN -- brown noise instrument
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.
p0 = output start time (seconds) p1 = duration (seconds) p2 = amplitude (absolute, for 16-bit soundfiles: 0-32768) p3 = pan (0-1 stereo; 0.5 is middle) [optional, default is .5] p2 (amplitude) and p3 (pan) can receive 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 NotesOutput may be mono or stereo.
rtsetparams(44100, 2) load("BROWN") BROWN(0, dur=100, amp=4000, pan=0.5)
See AlsoCRACKLE, DUST, HENON, IIR, LATOOCARFIAN, NOISE, PINK