# white-noise-node

> WhiteNoiseNode for Web Audio API

Latest version **1.1.1** (published 2016-06-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install white-noise-node
pnpm add white-noise-node
yarn add white-noise-node
bun add white-noise-node
```

## 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.1 |
| Published | 2016-06-06 |
| First published | 2016-05-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | Nao Yonamine |
| Maintainers | mohayonao |
| Keywords | webaudioapi, whitenoise |

## Links

- npm: https://www.npmjs.com/package/white-noise-node
- Repository: https://github.com/mohayonao/white-noise-node
- Homepage: https://github.com/mohayonao/white-noise-node/
- Issues: https://github.com/mohayonao/white-noise-node/issues
- npm.io page: https://npm.io/package/white-noise-node

## Recent versions

- 1.1.1 (latest) — 2016-06-06
- 1.1.0 — 2016-06-04
- 1.0.0 — 2016-05-29

## README

# WhiteNoiseNode
[![Build Status](http://img.shields.io/travis/mohayonao/white-noise-node.svg?style=flat-square)](https://travis-ci.org/mohayonao/white-noise-node)
[![NPM Version](http://img.shields.io/npm/v/white-noise-node.svg?style=flat-square)](https://www.npmjs.org/package/white-noise-node)
[![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](http://mohayonao.mit-license.org/)

> WhiteNoise AudioNode for Web Audio API

## Installation

```
npm install white-noise-node
```

downloads:

- [white-noise-node.js](https://raw.githubusercontent.com/mohayonao/white-noise-node/master/build/white-noise-node.js)
- [white-noise-node.min.js](https://raw.githubusercontent.com/mohayonao/white-noise-node/master/build/white-noise-node.min.js)

## API
### PluckNode
- `constructor(audioContext)`

#### Class Methods
- `install(): void`
  - install `createWhiteNoise()` method to `AudioContext.prototype` force

#### Instance Methods
- `start(when: number): void`
- `stop(when: number): void`

## Usage

```js
var noise = new WhiteNoiseNode(audioContext);

noise.start(audioContext.currentTime);
noise.stop(audioContext.currentTime + 4);
```

### Install to AudioContext

At first, call `install()` method.

```js
require("white-noise-node").install();
```

```html
<script src="/path/to/white-noise-node.js"></script>
<script>WhiteNoiseNode.install();</script>
```

Then, you can use `createWhiteNoise()` method at AudioContext.

## Demo

http://mohayonao.github.io/white-noise-node/

## License

MIT

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