Transform Reference Guide

'-

Subtract two values synchronously

Syntax

'-

Options

Inlets

Outlets

Comments

The subtraction operator accepts inputs and initialization arguments of any numeric type (ints, floats, doubles, complex and double complex) as well as audio samples and lists. Different types can be mixed and matched. For example, substraction of a float from an int (or an int from a float) yields a float, while substraction of a float from audio samples yields audio samples where the float is subtracted from each sample value. Subtraction on list inputs is performed element-wise, where each element in the list could be a different type.

This operator only outputs a result when new values have been received by both inlets. Thus, if a new value is received by param1, no result will be computed until a value is received by param2 as well. If this is not the behavior you want, try the - operator instead.

See Also

OSW Programming Details
-

Open Sound World User Guide
© 2000-2004 Amar Chaudhary. All rights reserved.