An open API service indexing awesome lists of open source software.

https://github.com/youpy/hoover.js


https://github.com/youpy/hoover.js

Last synced: 9 months ago
JSON representation

Awesome Lists containing this project

README

          

# Hoover.js [![Build Status](https://travis-ci.org/youpy/Hoover.js.svg?branch=master)](https://travis-ci.org/youpy/Hoover.js)

A JavaScript library to play hoover sound on Web Audio API.

It is (almost) compatible with [OscillatorNode interface](http://webaudio.github.io/web-audio-api/#the-oscillatornode-interface).

## Installation

### Browser

- https://raw.githubusercontent.com/youpy/Hoover.js/master/build/js/hoover.js
- https://raw.githubusercontent.com/youpy/Hoover.js/master/build/js/hoover.min.js

```html

```

### npm

```
npm install hoover.js
```

```javascript
require('web-audio-test-api');
var Hoover = require('hoover.js');
```

## Usage

```javascript
var hoover = new Hoover(new AudioContext());
hoover.connect(hoover.context.destination);
hoover.start();
```

## See also

- https://en.wikipedia.org/wiki/Hoover_sound
- http://d.hatena.ne.jp/aerodynamik/20110621/p1
- http://www.mcld.co.uk/blog/blog.php?254
- https://www.youtube.com/watch?v=-FYfRSTvspk