Interface SpectralCentroidProcessor.WeightFunction

  • Enclosing class:
    SpectralCentroidProcessor

    public static interface SpectralCentroidProcessor.WeightFunction
    Weight function to be used when computing the weighted sum of all powers.
    • Method Detail

      • weight

        double weight​(int index,
                      float power,
                      float frequency)