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

gain~ Reference

Gain control

gain~

Examples

Inlets

input [number, signal]

Input to scale. Number sets slider value.

value [number]

value

Outlets

output [signal]

Scaled output

outval [number]

Slider value

Fixed Attributes

These attributes must be set in the object box and determine the behavior of the object at runtime.

inc [number] (default: 1.071519)

inc

order [symbol]

Preset restore order (a number, 'first' or 'last').

preset [bool] (default: false)

Add this value to the preset.

scale [number] (default: 7.94321)

scale

size [number] (default: 158)

size

Dynamic Attributes

These attributes can be modified in the code during execution using the set object

input [number, signal]

Input to scale. Number sets slider value.

interp [number] (default: 10)

Ramp time (ms)

valin [number]

valin

valout [number]

valout

value [number]

value

See Also

Name Description
gain~ Gain control
slider slider
meter~ Signal Meter.
number~ Signal Monitor and Constant Generator.