sin

Sine function

Description

sin calculates and outputs the sine of any given number.

Arguments

Name Type Opt Description
initial-value float or int opt Sets the initial value for the sine function.

Messages

bang In left inlet: Calculates the sine of the number currently stored. If there is no argument, sin initially holds 0.
int input [int]
Input to a sine function in radians.
float input [float]
Input to a sine function in radians.

Information for box attributes common to all objects

Output

float or int: The sine of the input in radians.

Examples

See Also

Name Description
asin Arc-sine function
asinh Hyperbolic arc-sine function
sinh Hyperbolic sine function
Max Basic Tutorial 11: Procedural Drawing Max Basic Tutorial 11: Procedural Drawing