OnsetStatistics:
Filter:
sc3-plugins/Classes (extension) | UGens > Analysis

OnsetStatistics
ExtensionExtension

Extract basic statistics from a series of onset triggers

Description

The UGen records all trigger (onset) events and their times within its window of operation. Basic statistics are calculated over the onsets and inter-onset-intervals.

Class Methods

.kr

Operate feature extraction at control rate

Arguments:

input

Triggers at the control rate input are stored with their associated time of activation

windowsize

Size of operating window (from now into the past) in seconds. Any onset triggers within this time are taken into account

hopsize

Not used at present, re-calculates every block

Returns:

(describe returnvalue here) [0] Density of onsets (number of triggers) in the window [1] Mean of IOIs (in seconds) [2] Standard deviation of IOIs

Examples