linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / Dbrown.schelp
blobbe073a25eaf1903e3fd45fc554888442556a9232
1 class:: Dbrown
2 summary:: Demand rate brownian movement generator.
3 related:: Classes/Dibrown, Classes/Demand, Classes/Duty, Classes/TDuty
4 categories:: UGens>Demand
6 Description::
8 Dbrown returns numbers in the continuous range between
9 code::lo::  and  code::hi:: ,
10 link::Classes/Dibrown::  returns integer values.
13 The arguments can be a number or any other UGen.
16 See link::Classes/Pbrown::,  link::Classes/BrownNoise::  for structurally related
17 equivalents.
20 classmethods::
22 method::new
24 argument::lo
26 Minimum value.
29 argument::hi
31 Maximum value.
34 argument::step
36 Maximum step for each new value.
39 argument::length
41 Number of values to create. Use code::inf:: for an infinite number.
44 Examples::
46 code::
50         var a, freq, trig;
51         a = Dbrown(0, 15, 1, inf);
52         trig = Impulse.kr(MouseX.kr(1, 40, 1));
53         freq = Demand.kr(trig, 0, a) * 30 + 340;
54         SinOsc.ar(freq) * 0.1
56 }.play;