Transform Reference Guide


Multiply two values synchronously







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

This operator can also multiply the spectral outputs of FFT operations in order to perform fast convolution.

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. This is useful if you want to use the multiplication operator for ring modulation or fast convolution. If this is not the behavior you want, try the * operator instead.

See Also

OSW Programming Details
Tutorial patch: ring modulation

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