rsc3/doc-schelp/HelpSource/Classes/ControlRate.schelp

31 lines
501 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
class:: ControlRate
summary:: Server control rate.
related:: Classes/RadiansPerSample, Classes/SampleDur, Classes/SampleRate, Classes/SubsampleOffset
categories:: UGens>Info
Description::
Get the current control rate of the server.
classmethods::
method::ir
returns::
The current control rate of the server.
equivalent to 1 / link::Classes/ControlDur::
Examples::
code::
{ ControlRate.ir.poll }.play;
::
play a sine tone at control rate
code::
{ SinOsc.ar(ControlRate.ir) * 0.1 }.play;
::