Hiyve Components - v1.0.0
    Preparing search index...

    Attacks that make no attack: the onsets of a legato line — a voice, a bowed string, a wind instrument, a sustained patch — where one note turns into the next with no new burst of energy for an onset detector to find. The dominant pitch is read every few tens of milliseconds; when it moves by a semitone or more and stays there, that moment is an onset, timed at the middle of the first read that heard the new pitch, which is close to where the change was.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    sampleRate: number

    Methods

    • Consume samples; returns the onsets (ms from the start of the stream) found by the reads this chunk completed.

      Parameters

      • samples: Float32Array

      Returns number[]