Transform Reference Guide
|User Guide | Transform Guide | OSW on the Web|
Add two values
The addition 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, addition of a float and an int yields a float, while addition of a float to audio samples yields audio samples where the float is added to each sample value. Addition on list inputs is performed element-wise, where each element in the list could be a different type.
The addition operator also accepts string arguments. The result is the concatenation of the two input strings.
This operator outputs a result whever a new value is received via the left inlet param1, using the new value of param1 and the most recent value of param2, or the optional initial argument if no value has yet been received for param2. If you want to wait until both param1 and param2 receive new input values before computing a result, use the synchronous operator '+ instead.