Class NTRanges

java.lang.Object
com.io7m.jnoisetype.api.NTRanges

public final class NTRanges
extends java.lang.Object
Various ranges defined by the SountFontⓡ specification.
  • Field Summary

    Fields
    Modifier and Type Field Description
    static com.io7m.jranges.RangeInclusiveI BANK_INDEX_RANGE
    The range of valid values for bank indices.
    static com.io7m.jranges.RangeInclusiveI GENERATOR_INDEX_RANGE
    The range of valid values for generator indices.
    static com.io7m.jranges.RangeInclusiveI INSTRUMENT_BAG_INDEX_RANGE
    The range of valid values for instrument bag indices.
    static com.io7m.jranges.RangeInclusiveI INSTRUMENT_INDEX_RANGE
    The range of valid values for instrument indices.
    static com.io7m.jranges.RangeInclusiveI INSTRUMENT_NAME_LENGTH_RANGE
    The length range of instrument names.
    static com.io7m.jranges.RangeInclusiveI LONG_STRING_LENGTH_RANGE
    The length range of long strings.
    static com.io7m.jranges.RangeInclusiveI PITCH_RANGE
    The range of valid values for pitch values.
    static com.io7m.jranges.RangeInclusiveI PRESET_BAG_INDEX_RANGE
    The range of valid values for preset bag indices.
    static com.io7m.jranges.RangeInclusiveI PRESET_INDEX_RANGE
    The range of valid values for preset indices.
    static com.io7m.jranges.RangeInclusiveI PRESET_NAME_LENGTH_RANGE
    The length range of preset names.
    static com.io7m.jranges.RangeInclusiveI SAMPLE_INDEX_RANGE
    The range of valid values for sample indices.
    static com.io7m.jranges.RangeInclusiveI SAMPLE_NAME_LENGTH_RANGE
    The length range of sample names.
    static com.io7m.jranges.RangeInclusiveI SHORT_STRING_LENGTH_RANGE
    The length range of short strings.
    static com.io7m.jranges.RangeInclusiveI UNSIGNED_16_RANGE
    The range of valid values for 16-bit unsigned integers.
    static com.io7m.jranges.RangeInclusiveI VERSION_RANGE
    The range of valid values for version numbers.
  • Method Summary

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • SHORT_STRING_LENGTH_RANGE

      public static final com.io7m.jranges.RangeInclusiveI SHORT_STRING_LENGTH_RANGE
      The length range of short strings. The SountFontⓡ specification defines many strings as "an ASCII string of 256 or fewer bytes including one or two terminators of value zero, so as to make the total byte count even".
    • LONG_STRING_LENGTH_RANGE

      public static final com.io7m.jranges.RangeInclusiveI LONG_STRING_LENGTH_RANGE
      The length range of long strings. The SountFontⓡ specification defines many strings as "an ASCII string of 65535 or fewer bytes including one or two terminators of value zero, so as to make the total byte count even".
    • UNSIGNED_16_RANGE

      public static final com.io7m.jranges.RangeInclusiveI UNSIGNED_16_RANGE
      The range of valid values for 16-bit unsigned integers.
    • VERSION_RANGE

      public static final com.io7m.jranges.RangeInclusiveI VERSION_RANGE
      The range of valid values for version numbers. Numbers are encoded as 16-bit unsigned integers.
    • SAMPLE_NAME_LENGTH_RANGE

      public static final com.io7m.jranges.RangeInclusiveI SAMPLE_NAME_LENGTH_RANGE
      The length range of sample names.
    • PRESET_NAME_LENGTH_RANGE

      public static final com.io7m.jranges.RangeInclusiveI PRESET_NAME_LENGTH_RANGE
      The length range of preset names.
    • INSTRUMENT_NAME_LENGTH_RANGE

      public static final com.io7m.jranges.RangeInclusiveI INSTRUMENT_NAME_LENGTH_RANGE
      The length range of instrument names.
    • INSTRUMENT_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI INSTRUMENT_INDEX_RANGE
      The range of valid values for instrument indices. Numbers are encoded as 16-bit unsigned integers.
    • INSTRUMENT_BAG_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI INSTRUMENT_BAG_INDEX_RANGE
      The range of valid values for instrument bag indices. Numbers are encoded as 16-bit unsigned integers.
    • PRESET_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI PRESET_INDEX_RANGE
      The range of valid values for preset indices. Numbers are encoded as 16-bit unsigned integers.
    • BANK_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI BANK_INDEX_RANGE
      The range of valid values for bank indices. Numbers are encoded as 16-bit unsigned integers.
    • PRESET_BAG_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI PRESET_BAG_INDEX_RANGE
      The range of valid values for preset bag indices. Numbers are encoded as 16-bit unsigned integers.
    • SAMPLE_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI SAMPLE_INDEX_RANGE
      The range of valid values for sample indices. Numbers are encoded as 16-bit unsigned integers.
    • GENERATOR_INDEX_RANGE

      public static final com.io7m.jranges.RangeInclusiveI GENERATOR_INDEX_RANGE
      The range of valid values for generator indices. Numbers are encoded as 16-bit unsigned integers.
    • PITCH_RANGE

      public static final com.io7m.jranges.RangeInclusiveI PITCH_RANGE
      The range of valid values for pitch values.