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

https://github.com/notchris/generate-silence

Generate silent audio with options.
https://github.com/notchris/generate-silence

audio generator player silence wav

Last synced: about 1 year ago
JSON representation

Generate silent audio with options.

Awesome Lists containing this project

README

          

# generate-silence
> Quickly generate silent audio with options.

## Getting started
```
npm install generate-silence
```

Then include in your project:
```
const Silence = require('generate-silence');
```

Then generate silence:

```js

new Silence(60).generate(); // seconds

// You can also pass an option to generate for a different return format.

new Silence(60).generate('base64') // base64 (default)
new Silence(60).generate('datauri') // datauri
new Silence(60).generate('element') // HTML Audio Element
```