cos~ Reference

Signal cosine function (0-1 range)

cos~

Description

Use the cos~ object to calculate and output a signal that is the cosine function of each sample of the input signal.

Examples

Cosine of the input (a fraction of a cycle) is calculated and sent out

Arguments

None.

Attributes

Common Box Attributes

Messages

signal

Input to a cosine function. The input is stated as a fraction of a cycle (typically in the range from 0 to 1), and is multiplied by 2π before being used in the cosine function.

Output

signal

The cosine of 2π times the input. The method used in this object to calculate the cosine directly is typically less efficient than using the stored cosine in a cycle~ object.

See Also

Name Description
acos~
acosh~
asin~
asinh~
atan~
atanh~
atan2~
cosh~
cosx~
cycle~
phasor~
sinh~
sinx~
tanh~
tanx~
trapezoid~
triangle~
wave~
2d.wave~