Maxamp:
Filter:
sc3-plugins/Classes (extension) | Libraries > JoshUGens | UGens > Analysis:Synthesis

Maxamp
ExtensionExtension

Tracks and prints amplitudes
 

Description

WARNING: Printing from the server is very expensive on the client side (lang). This CPU usage will not show up in your CPU usage on the server side.

Class Methods

.ar

Arguments:

in

The input you would like to track.

numSamps

The period in which Maxamp will post amp information.

Examples

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: