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

https://github.com/audiojs/decibels

:loudspeaker: Convert values to and from decibels.
https://github.com/audiojs/decibels

Last synced: 8 months ago
JSON representation

:loudspeaker: Convert values to and from decibels.

Awesome Lists containing this project

README

          

decibels
===

Convert values to and from decibels.

## Install [via npm](https://www.npmjs.com/package/decibels)

```js
$ npm install decibels
```

## API

```js
var gainToDecibels = require('decibels/from-gain')
var decibelsToGain = require('decibels/to-gain')
```

### `gainToDecibels(gain)`

### `decibelsToGain(db)`

## License

MIT