If a number is greater than previous numbers, output it
Name | Type | Opt | Description |
---|---|---|---|
number-format | float | The initial value stored in peak is . Providing a float argument will cause peak to operate with floating point numbers instead of integers. |
bang | In left inlet: Sends the currently stored peak value out the left outlet. | |
int | input [int] |
In left inlet: If the input is greater than the value currently stored in peak, it is stored as the new peak value and is sent out. In right inlet: The number is stored in peak as the new peak value, and is sent out. |
(inlet1) | peak-value [int] |
In right inlet: The number is stored in peak as the new peak value, and is sent out. |
float | input [float] |
In left inlet: If the input is greater than the value currently stored in peak, it is stored as the new peak value and is sent out. In right inlet: The number is stored in peak as the new peak value, and is sent out. |
(inlet1) | peak-value [float] |
In right inlet: The number is stored in peak as the new peak value, and is sent out. |
list | input and peak-value [list] |
In left inlet: The second number is stored as the new peak value and is sent out, then the first number is received in the left inlet. |
Name | Description |
---|---|
maximum | Output the greatest in a list of numbers |
past | Report when input increases beyond a certain number |
trough | If a number is less than previous numbers, output it |
> | Is greater than, comparison of two numbers |
Max Data Tutorial 2: Data Scaling | Max Data Tutorial 2: Data Scaling |