in |
The input you would like to track. |
numSamps |
The period in which Maxamp will post amp information. |
Here is a sample of what prints:
Maxamp from 1.8 to 1.9: 0.87646, Overall Maxamp at 1.89903: 0.87646 Maxamp from 1.9 to 2: 0.930082, Overall Maxamp at 1.999: 0.930082 Maxamp from 2 to 2.1: 0.930123, Overall Maxamp at 2.00011: 0.930123 Maxamp from 2.1 to 2.2: 0.88386, Overall Maxamp at 2.00011: 0.930123 Maxamp from 2.2 to 2.3: 0.837598, Overall Maxamp at 2.00011: 0.930123 Maxamp from 2.3 to 2.4: 0.791335, Overall Maxamp at 2.00011: 0.930123
The last line shows that the Maxamp from 2.3 - 2.4 seconds was 0.791335. The overall Maxamp occurred at 2.00011 seconds, with a value of 0.930123.
For NRTThis UGen can be particularly useful during NRT synthesis: