sinMathematical Operations:Trigonometric Functionssinsin
Performs a sine function.
Description
Returns the sine of x (x in radians).
Syntaxsin(x) (no rate restriction)sin(k/i[]) (k- or i-arrays )Examples
Here is an example of the sin opcode. It uses the file sin.csd.
Example of the sin opcode.See the sections Real-time Audio and Command Line Flags for more information on using command line flags.
Its output should include a line like this:
instr 1: isin1 = 0.000 isin2 = 1.000 isin3 = 0.000 isin4 = -1.000 isin5 = -0.000 isin6 = 0.000See alsoTrigonometric Functions