# pico.driver.webaudio

> AudioDriver for Web Audio API

Latest version **1.1.0** (published 2015-12-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install pico.driver.webaudio
pnpm add pico.driver.webaudio
yarn add pico.driver.webaudio
bun add pico.driver.webaudio
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.0 |
| Published | 2015-12-29 |
| First published | 2015-12-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | Nao Yonamine |
| Maintainers | mohayonao |
| Keywords | audio, dsp, pico.js, timbre.js |

## Links

- npm: https://www.npmjs.com/package/pico.driver.webaudio
- Repository: https://github.com/mohayonao/pico.driver
- Homepage: https://github.com/mohayonao/pico.driver/tree/master/pico.driver.webaudio
- Issues: https://github.com/mohayonao/pico.driver/issues
- npm.io page: https://npm.io/package/pico.driver.webaudio

## Recent versions

- 1.1.0 (latest) — 2015-12-29
- 1.0.1 — 2015-12-29
- 0.1.0 — 2015-12-28
- 1.0.0 — 2015-12-28

## README

# pico.driver.webaudio
[![NPM Version](http://img.shields.io/npm/v/pico.driver.webaudio.svg?style=flat-square)](https://www.npmjs.org/package/pico.driver.webaudio)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://mohayonao.mit-license.org/)

## Installation

```
$ npm install pico.driver.webaudio
```

## API
### PicoWebAudioDriver
- `constructor()`

#### Instance attributes
- `processor: Processor` _(required)_
- `context: AudioContext` _(implicit readonly)_
- `sampleRate: number` _(implicit readonly)_
- `bufferLength: number` _(implicit readonly)_

#### Instance methods
- `setup(opts: object): void`
  - `opts.context: AudioContext` _(required)_
  - `opts.bufferLength: number` _(default: 1024)_
- `start(): void`
- `stop(): void`

#### Server Interface
```
interface Processor {
  driver: PicoDriver;
  process(bufL: Float32Array, bufR: Float32Array) => void;
}
```

## License

MIT

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