Chaotic noise generator.
in RTcmix/insts/neil
CRACKLE(outsk, dur, AMP[, CHAOS, 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 multiplier | - | yes | no | |
p3 | chaos parameter | 0-1 | yes | yes | default: 1 |
p4 | pan | in percent-to-left format | 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
Chaos (p3) values near 0 are less crackly (closer to white noise). As chaos approaches 1, it crackles more.
Output may be mono or stereo.
rtsetparams(44100, 2)
load("CRACKLE")
CRACKLE(0, dur=100, amp=4000, chaos=0.9, pan=0.5)