Class AudioNormalizationSettings

    • Method Detail

      • algorithm

        public final AudioNormalizationAlgorithm algorithm()
        Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, itu17702 conforms to the EBU R-128 specification.

        If the service returns an enum value that is not available in the current SDK version, algorithm will return AudioNormalizationAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from algorithmAsString().

        Returns:
        Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, itu17702 conforms to the EBU R-128 specification.
        See Also:
        AudioNormalizationAlgorithm
      • algorithmAsString

        public final String algorithmAsString()
        Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, itu17702 conforms to the EBU R-128 specification.

        If the service returns an enum value that is not available in the current SDK version, algorithm will return AudioNormalizationAlgorithm.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from algorithmAsString().

        Returns:
        Audio normalization algorithm to use. itu17701 conforms to the CALM Act specification, itu17702 conforms to the EBU R-128 specification.
        See Also:
        AudioNormalizationAlgorithm
      • algorithmControlAsString

        public final String algorithmControlAsString()
        When set to correctAudio the output audio is corrected using the chosen algorithm. If set to measureOnly, the audio will be measured but not adjusted.

        If the service returns an enum value that is not available in the current SDK version, algorithmControl will return AudioNormalizationAlgorithmControl.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from algorithmControlAsString().

        Returns:
        When set to correctAudio the output audio is corrected using the chosen algorithm. If set to measureOnly, the audio will be measured but not adjusted.
        See Also:
        AudioNormalizationAlgorithmControl
      • targetLkfs

        public final Double targetLkfs()
        Target LKFS(loudness) to adjust volume to. If no value is entered, a default value will be used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.
        Returns:
        Target LKFS(loudness) to adjust volume to. If no value is entered, a default value will be used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)