Class Decibel.PowersToDecibel

  • All Implemented Interfaces:
    Enclosing class:

    public static class Decibel.PowersToDecibel
    extends Object
    implements MapFunction<float[]>
    Maps magnitudes to decibel (log10(magnitude)*20). Note that this implementation re-uses the array it returns. This means that you need to Object.clone() the array should you want to use it after map map(float[]) was called again. It also means that instances should only be used from one thread.
    • Constructor Detail

      • PowersToDecibel

        public PowersToDecibel()