cos Mathematical Operations:Trigonometric Functions cos cos Performs a cosine function. Description Returns the cosine of x (x in radians). Syntax cos(x) (no rate restriction) cos(k/i[]) (k- or i-arrays ) Examples Here is an example of the cos opcode. It uses the file cos.csd. Example of the cos opcode. See the sections Real-time Audio and Command Line Flags for more information on using command line flags. See also Trigonometric Functions