sclang: ServerShmInterface - try to avoid multiple destructor calls
[supercollider.git] / HelpSource / Classes / T2K.schelp
blobf06a06dea28d29bb128d3df8331e966af88758ba
1 class:: T2K
2 summary:: Audio rate trigger to control rate trigger converter
3 categories:: UGens>Conversion, UGens>Triggers
4 related:: Classes/T2A, Classes/K2A, Classes/A2K
6 description::
7 Converts audio rate trigger into control rate trigger, using the maxiumum trigger in the input during each control period.
9 classmethods::
10 method:: kr
12 argument:: in
13 input signal.
15 examples::
16 code::
17 // this does not work:
20         var trig = Dust.ar(4);
21         Trig.kr(trig, 0.1) * SinOsc.ar(800) * 0.1
22 }.play;
25 // this works:
28         var trig = T2K.kr(Dust.ar(4));
29         Trig.kr(trig, 0.1) * SinOsc.ar(800) * 0.1
30 }.play;