@types/beats
TypeScript icon, indicating that this package has built-in type declarations

0.0.4 • Public • Published

Installation

npm install --save @types/beats

Summary

This package contains type definitions for beats (https://github.com/hughsk/beats/).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/beats.

index.d.ts

export = beats;

declare function beats(
    bins: readonly beats.Bin[],
    minSeparation?: number,
): (frequencies: Uint8Array | Float32Array | readonly number[], dt?: number) => Float32Array;

declare namespace beats {
    interface Bin {
        lo: number;
        hi: number;
        threshold: number;
        decay: number;
    }
}

Additional Details

  • Last updated: Mon, 20 Nov 2023 23:36:23 GMT
  • Dependencies: none

Credits

These definitions were written by Uri Shaked.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/beats

Weekly Downloads

1

Version

0.0.4

License

MIT

Unpacked Size

3.16 kB

Total Files

5

Last publish

Collaborators

  • types