Class LoudnessNormalization

    • Constructor Detail

      • LoudnessNormalization

        public LoudnessNormalization()
    • Method Detail

      • getLabel

        public String getLabel()
      • isMeasureLoudness

        public boolean isMeasureLoudness()
      • setMeasureLoudness

        public void setMeasureLoudness​(boolean computeLoudness)
      • isMeasureLoudnessRange

        public boolean isMeasureLoudnessRange()
      • setMeasureLoudnessRange

        public void setMeasureLoudnessRange​(boolean computeLoudnessRange)
      • isMeasureSamplePeak

        public boolean isMeasureSamplePeak()
      • setMeasureSamplePeak

        public void setMeasureSamplePeak​(boolean measureSamplePeak)
      • isMeasureTruePeak

        public boolean isMeasureTruePeak()
      • setMeasureTruePeak

        public void setMeasureTruePeak​(boolean measureTruePeak)
      • getDefaultReferenceLevel

        public abstract float getDefaultReferenceLevel()
      • toReplayGain

        public abstract ReplayGain toReplayGain​(Map<Object,​Object> results,
                                                float referenceLevel,
                                                int sampleSizeInBits)
        Convert results to ReplayGain with custom reference level.
        Parameters:
        results - pump results
        referenceLevel - reference level
        sampleSizeInBits - sampleSizeInBits
        Returns:
        replay gain
      • toReplayGain

        public abstract ReplayGain toReplayGain​(Loudness loudness,
                                                float referenceLevel,
                                                Number peak,
                                                int sampleSizeInBits)
      • buildSamplePeakPipeline

        protected void buildSamplePeakPipeline​(InterleavedChannelSplit split,
                                               int channels)