Mathematics
The Mathematical Toolbox contains standard mathematical and statistical functions to help you make the best Animation you have ever done!
- Functions and Macros
- Normalize coordinates: Each of the three input Values are mapped onto a range given by the input's
range modifierby the function: outputX = (inputX-0.5)*('range modifier'*2). The range of the input is supposed to be [0,1]. Example: given an input between [0,1] and a modifier of 2, the results are then between [-2,2] - Means of three: Output the mean of all three inputs.
- Average: Compute the average of the given Singal and the Rate.
UPDATE: 2006-08-22: Added some patches
- Normalize in range: Normalize the input value to the given range
- Min/Max of signal: Computes the minimum and maximum values of the input signal.
- Min/Max of signal with Ratios: Computes the minimum and maximum values of the input signal. The Values are adapted in time by the given INC/DEC ratios. These ratios are added/substracted to the MIN/MAX output of the patch. This behaviour is important in situations where the magnitude of the signal changes in time and you want your Outputs to adapt in a linear way towards the new values.
- Adaptive Min/Max of signal: Computes the minimum and maximum values of the input signal. The Values are adapted automatically to the signal. This behaviour is important in situations where the magnitude of the signal changes in time. In contrast to the MIN/MAX of signal with ratios above, the outputs are computed constantly.
- Moving average: Computes the average of the input signal with a given window size: The window size parameter defines how many values of the input signal should be used to compute the moving average. A value of ten would store the ten previous input values. The macro has then the average of these as an output.
- RMS - Root Mean Square: Statistical method to compute the mean square of a given sample, i.e. how big is the average difference of the means of all values over all samples. See also: http://de.wikipedia.org/wiki/Standardabweichung
- input >= limit & input <= limit: cut-off filter which only passes those values of the signal which are higher (or lower) than the value of limit
UPDATE: 2006-08-23 Some more patches:
- input >= limit (normalized) & input <= limit (normalized): cut-off filter which only passes those values of the signal which are higher (or lower) than the value of limit. This versions normalize the signal to its min/max.
| Anhang | Größe |
|---|---|
| _Mathematical Toolbox.qtz | 32.4 KB |

Kommentar hinzufügen