Merge pull request #506 from andrewcsmith/patch-2
[supercollider.git] / HelpSource / Classes / COsc.schelp
blobfd26998527f631fd1887ea9094e7f8ac645a9a86
1 class:: COsc
2 summary:: Chorusing wavetable oscillator.
3 related:: Classes/Osc, Classes/OscN, Classes/VOsc, Classes/VOsc3
4 categories::  UGens>Generators>Deterministic
7 Description::
9 Chorusing wavetable lookup oscillator. Produces sum of two signals at
11 code::
12 (freq ± (beats / 2)).
15 Due to summing, the peak amplitude is twice that of the wavetable.
18 classmethods::
20 method::ar, kr
22 argument::bufnum
24 The number of a buffer filled in wavetable format.
27 argument::freq
29 Frequency in Hertz.
32 argument::beats
34 Beat frequency in Hertz.
37 argument::mul
39 Output will be multiplied by this value.
42 argument::add
44 This value will be added to the output.
47 Examples::
49 code::
52 b = Buffer.alloc(s, 512, 1, {arg buf; buf.sine1Msg(1.0/[1,2,3,4,5,6,7,8,9,10])});
53 { COsc.ar(b.bufnum, 200, 0.7, 0.25) }.play;