Explicitly include a boost "windows" folder even on linux
[supercollider.git] / HelpSource / Classes / VarSaw.schelp
blobf6dcae4647935ab14b58e97fe1979080d10866ea
1 class:: VarSaw
2 summary:: Variable duty saw
3 related:: Classes/Saw, Classes/SyncSaw, Classes/LFSaw
4 categories::  UGens>Generators>Deterministic
7 Description::
9 Sawtooth-triangle oscillator with variable duty.
12 classmethods::
13 private:: categories
15 method::ar, kr
17 argument::freq
18 frequency in Hertz
20 argument::iphase
21 initial phase offset in cycles ( 0..1 )
23 argument::width
24 duty cycle from zero to one.
27 Examples::
29 code::
31 play({
32         VarSaw.ar(
33                 LFPulse.kr(3, 0, 0.3, 200, 200),
34                 0,
35                 LFTri.kr(1.0).range(0,1), //width
36                 0.1)
37 });
40 play({ VarSaw.ar(LFPulse.kr(3, 0, 0.3, 200, 200), 0, 0.2, 0.1) });
42 compare:
44 play({ LFPulse.ar(LFPulse.kr(3, 0, 0.3, 200, 200), 0, 0.2, 0.1) });