‚̧Noiseless Peaceful Morning
    Have ideas to improve npm?Join in the discussion! ¬Ľ

    glsl-decibels

    1.0.0¬†‚Äʬ†Public¬†‚Äʬ†Published

    glsl-decibels

    stable

    Convert values to and from decibels.

    Usage

    NPM

    varying float value;
     
    #pragma glslify: toGain = require('glsl-decibels/to-gain') 
    #pragma glslify: fromGain = require('glsl-decibels/from-gain') 
     
    void main() {
      float dbValue = fromGain(value);
      float gainValue = toGain(dbValue);
    }

    Related

    Install

    npm i glsl-decibels

    DownloadsWeekly Downloads

    61

    Version

    1.0.0

    License

    MIT

    Last publish

    Collaborators

    • avatar