Interface NTSampleDescriptionType

    • Method Detail

      • nameText

        default java.lang.String nameText()
        Specified by:
        nameText in interface NTNamedType
        Returns:
        The name of the element as a raw string
      • start

        long start()
        Returns:
        The index, in sample data points, from the beginning of the sample data field to the first data point of this sample
      • end

        long end()
        Returns:
        The index, in sample data points, from the beginning of the sample data field to the first of the set of 46 zero valued data points following this sample
      • loopStart

        long loopStart()
        Returns:
        The index, in sample data points, from the beginning of the sample data field to the first data point in the loop of this sample
      • loopEnd

        long loopEnd()
        Returns:
        The index, in sample data points, from the beginning of the sample data field to the first data point following the loop of this sample. Note that this is the data point “equivalent to” the first loop data point, and that to produce portable artifact free loops, the eight proximal data points surrounding both the Startloop and Endloop points should be identical.
      • sampleRate

        int sampleRate()
        Returns:
        The sample rate in hz
      • originalPitch

        NTPitch originalPitch()
        Returns:
        The original pitch of the sample
      • pitchCorrection

        int pitchCorrection()
        Returns:
        The pitch correction value for the sample
      • sampleLink

        @Default
        default int sampleLink()
        Returns:
        The sample link