/usr/share/SuperCollider/HelpSource/Classes/LFNoise2.schelp is in supercollider-common 1:3.6.3~repack-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 | class:: LFNoise2
summary:: Quadratic noise.
related:: Classes/LFClipNoise, Classes/LFDClipNoise, Classes/LFDNoise0, Classes/LFDNoise1, Classes/LFDNoise3, Classes/LFNoise0, Classes/LFNoise1
categories:: UGens>Generators>Stochastic
Description::
Generates quadratically interpolated random values at a rate given by
the nearest integer division of the sample rate by the
code::freq:: argument.
note::
quadratic interpolation means that the noise values can occasionally extend beyond the normal range of +-1, if the freq varies in certain ways. If this is undesirable then you might like to clip2 the values, or use a linearly-interpolating unit instead.
::
classmethods::
method::ar, kr
argument::freq
Approximate rate at which to generate random values.
argument::mul
Output will be multiplied by this value.
argument::add
This value will be added to the output.
Examples::
code::
{ LFNoise2.ar(1000, 0.25) }.play;
// modulate frequency
{ LFNoise2.ar(XLine.kr(1000, 10000, 10), 0.25) }.play;
// as frequency modulator
(
{ SinOsc.ar(
LFNoise2.ar(4, 400, 450),
0, 0.2
)
}.play;
)
// freq is the rate of interpolation points
{ var freq = 1000; [LFNoise2.ar(freq), Impulse.ar(freq)] }.plot
::
|