A newer version of Max is available. Click here to access the latest version of the documentation

sin Reference

Sine function

sin

Description

Use the sin object to calculate and output the sine of any given number.

Examples

Arguments

initial-value [float or int]

Optional

Sets the initial value for the sine function.

Attributes

Common Box Attributes

Messages

bang

Calculates the sine of the number currently stored. If there is no argument, sin initially holds 0.

int

Arguments

input [int]
Input to the sine function in radians

float

Arguments

input [float]
Input to the sine function in radians

Output

float or int

The sine of the input in radians.

See Also

Name Description
asin
asinh
sinh
Max Basic Tutorial 11: Procedural Drawing Max Basic Tutorial 11: Procedural Drawing