Transform Reference Guide

'/

Divide two values synchronously

Syntax

'/

Options

Inlets

Outlets

Comments

The division 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, division of a float by an int (or an int by a float) yields a float, while division of audio samples by a float yields audio samples where the each sample value is divided by the float. Division on list inputs is performed element-wise, where each element in the list could be a different type.

Beware of overflows and division-by-zero errors when using audio samples, especially in the right inlet.

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.