linux: shared memory interface - link with librt
[supercollider.git] / HelpSource / Classes / ControlRate.schelp
blob4cfbacf2265e30f5e4dd4f877bc459ebfb1c2f9f
1 class:: ControlRate
2 summary:: Server control rate.
3 related:: Classes/RadiansPerSample, Classes/SampleDur, Classes/SampleRate, Classes/SubsampleOffset
4 categories::  UGens>Info
7 Description::
9 Get the current control rate of the server.
12 classmethods::
14 method::ir
16 returns::
17 The current control rate of the server.
19 equivalent to 1 / link::Classes/ControlDur::
21 Examples::
22 code::
23 { ControlRate.ir.poll }.play;
26 play a sine tone at control rate
27 code::
28 { SinOsc.ar(ControlRate.ir) * 0.1 }.play;