Class Audio.OnsetDetector

implements Audio.Sink

Constructors

OnsetDetector()

Methods

void connect(Audio.Connection connection)

Connect a single channel of audio.

void connect(Audio.Source source)

Connect all channels of an audio source.

void onOnset(function handler)

float threshold()

float threshold(float threshold)

Method Documentation

void connect(Audio.Connection connection)

Connect a single channel of audio.

Parameters

void connect(Audio.Source source)

Connect all channels of an audio source.

Parameters

void onOnset(function handler)

Parameters

float threshold()

Parameters

Returns

float threshold(float threshold)

Parameters

Returns



Creative Commons LicenseThis work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.