# @types/ooura

> TypeScript definitions for ooura

Latest version **2.1.2** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/ooura
pnpm add @types/ooura
yarn add @types/ooura
bun add @types/ooura
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.1.2 |
| Published | 2023-11-07 |
| First published | 2020-12-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51439 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/ooura
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ooura
- npm.io page: https://npm.io/package/@types/ooura

## Recent versions

- 2.1.2 (latest) — 2023-11-07
- 2.1.0 (ts3.3) — 2020-12-04
- 2.1.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/ooura`

# Summary
This package contains type definitions for ooura (https://github.com/audioplastic/ooura#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ooura.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/ooura/index.d.ts)
````ts
export = Ooura;

interface Info {
    type: "real" | "complex";
    radix: number;
}

interface realFFT {
    (dataBuffer: ArrayBuffer, reBuffer: ArrayBuffer, imBuffer: ArrayBuffer): void;
}

interface complexFFT {
    (reIpBuffer: ArrayBuffer, imIpBuffer: ArrayBuffer, reOpBuffer: ArrayBuffer, imOpBuffer: ArrayBuffer): void;
}

declare class Ooura {
    constructor(size: number, info?: Info);

    size: number;

    scalarArrayFactory(): Float64Array;
    vectorArrayFactory(): Float64Array;

    fft: complexFFT & realFFT;
    ifft: complexFFT & realFFT;
    fftInPlace: (dataBuffer: ArrayBuffer) => void;
    ifftInPlace: (dataBuffer: ArrayBuffer) => void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [sukumo28](https://github.com/sukumo28).

---
_Source: https://npm.io/package/@types/ooura · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
