Gestures

class Gestures

Confident transients and supported structural edges, with separate continuous visual cycles.

A hit is a transient the detector supports, whatever its level: see AudioDetection.isHit. The strength of a hit says how much the picture should answer. The names below are the bands the detectors watch. They do not identify instruments.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val bars: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Artistic four-pulse cycle, with level-driven free motion when rhythm is unavailable.

Link copied to clipboard
var cycles: Int
Link copied to clipboard

Nominal duration used for continuous parameter responses, not a measured bar length.

Link copied to clipboard
Link copied to clipboard
var hat: Float

Strength of the strongest high-transient hit in this frame.

Link copied to clipboard
var hats: Int

How many high-transient hits this frame carried.

Link copied to clipboard
var kick: Float

Strength of the strongest low-transient hit in this frame, 0 when there is none.

Link copied to clipboard
var kicks: Int

How many low-transient hits this frame carried. Several land in one frame at a low frame rate.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Whether the cycles follow a supported pulse rather than running free.

Link copied to clipboard

An accepted structural boundary. Neither elapsed time nor pulse counting produces this.

Link copied to clipboard
Link copied to clipboard

True while the overall driver has remained below 0.02 for two seconds.

Link copied to clipboard

Artistic sixteen-pulse cycle. This does not describe a musical phrase.

Link copied to clipboard
Link copied to clipboard

Strength of the strongest body-transient hit in this frame.

Link copied to clipboard
var snares: Int

How many body-transient hits this frame carried.

Link copied to clipboard

A moment for a drawing's biggest gesture: an accepted drop, or the first strong rise in energy after six quiet seconds, at most once a minute.

Link copied to clipboard
var surges: Int
Link copied to clipboard

A moment to change the picture: an accepted boundary, or the eighth cycle since the last turn while something plays.

Link copied to clipboard
var turns: Int

Functions

Link copied to clipboard
fun reset()
Link copied to clipboard

Reads one frame. Repeating the same state does not repeat an edge. A new frame at an instant already read delivers its edges without advancing the cycles again.