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

42 lines
605 B
Text
Raw Normal View History

2022-08-24 13:53:18 +00:00
class:: Delay1
summary:: Single sample delay.
related:: Classes/Delay2
categories:: UGens>Delays
Description::
Delays the input by 1 audio frame or control period.
classmethods::
method::ar, kr
argument::in
Input signal.
argument::mul
Output will be multiplied by this value.
argument::add
This value will be added to the output.
discussion::
For audio-rate signals the delay is 1 audio frame, and for control-rate signals the delay is 1 control period.
Examples::
code::
(
plot({
var z;
z = Dust.ar(1000);
[z, z - Delay1.ar(z)] // [ original, subtract delayed from original ]
}))
::