OnsetStatistics:
Filter:
Classes (extension) | UGens > Analysis

OnsetStatistics : MultiOutUGen : UGen : AbstractFunction : Object
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

OnsetStatistics.kr(input, windowsize: 1.0, hopsize: 0.1)

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

Inherited class methods

Instance Methods

Inherited instance methods

Examples