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

    Options for detectOnsetsMs.

    interface OnsetListOptions {
        baselineWindows?: number;
        minIntervalMs?: number;
        minLevel?: number;
        thresholdDb?: number;
        windowMs?: number;
    }
    Index

    Properties

    baselineWindows?: number

    Number of preceding windows that define the recent level

    minIntervalMs?: number

    Shortest gap between two reported onsets

    minLevel?: number

    Absolute RMS floor below which nothing counts as an attack

    thresholdDb?: number

    How far above the recent level a window must rise to count as an attack

    windowMs?: number

    Analysis window length