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 0] p2 (amplitude) and p3 (pan) can receive dynamic updates from a table or real-time control source. Author: JGG, 24 Dec 2002, rev. 7/9/04
Usage Notes
The series of random numbers that makes the noise is affected by any
calls to the
srand
scorefile command in the script. If there are no such calls, the
random seed is 1.
Output may be mono or stereo.
Sample Scores
very basic:
rtsetparams(44100, 1) load("NOISE") ampenv = maketable("window", 1000, "hanning") NOISE(0.0, 2.5, 20000*ampenv)