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 ]
}))

::

