Interface NTPitchType

All Superinterfaces:
Comparable<NTPitchType>
All Known Implementing Classes:
NTPitch

@Immutable public interface NTPitchType extends Comparable<NTPitchType>
The valid values for pitches.
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    Check preconditions for the type.
    default int
     
    int
     
  • Method Details

    • value

      @Parameter int value()
      Returns:
      The raw value in the range [0, 127]
    • checkPreconditions

      @Check default void checkPreconditions()
      Check preconditions for the type.
    • compareTo

      default int compareTo(NTPitchType other)
      Specified by:
      compareTo in interface Comparable<NTPitchType>