PV_JensenAndersen:
Filter:
Classes | UGens > FFT

PV_JensenAndersen : PV_ChainUGen : WidthFirstUGen : UGen : AbstractFunction : Object

FFT feature detector for onset detection.
Source: FFT2.sc

Description

FFT feature detector for onset detection based on work described in Jensen, K. & Andersen, T. H. (2003). Real-time Beat Estimation Using Feature Extraction. In Proceedings of the Computer Music Modeling and Retrieval Symposium, Lecture Notes in Computer Science. Springer Verlag.

First order derivatives of the features are taken. threshold may need to be set low to pick up on changes.

Class Methods

PV_JensenAndersen.ar(buffer, propsc: 0.25, prophfe: 0.25, prophfc: 0.25, propsf: 0.25, threshold: 1.0, waittime: 0.04)

Arguments:

buffer

FFT buffer.

propsc

Proportion of spectral centroid feature.

prophfe

Proportion of high frequency energy feature.

prophfc

Proportion of high frequency content feature.

propsf

Proportion of spectral flux feature.

threshold

Threshold level for allowing a detection.

waittime

If triggered, minimum wait until a further frame can cause another spot (useful to stop multiple detects on heavy signals).

Inherited class methods

Instance Methods

Inherited instance methods

Examples