sherpa-onnx-node-addon-api
    Preparing search index...

    Interface SourceSeparationRequest

    interface SourceSeparationRequest {
        enableExternalBuffer?: boolean;
        sampleRate: number;
        samples: Float32Array<ArrayBufferLike>[];
    }
    Index
    enableExternalBuffer?: boolean

    Set false for Electron.

    sampleRate: number

    Positive integer input sample rate in Hz, no greater than 2147483647.

    samples: Float32Array<ArrayBufferLike>[]

    One or two equal-length channels. Mono input is duplicated to stereo internally by sherpa-onnx; you don't need to duplicate it yourself. Values should be in [-1, 1].