Class NTGenerators

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

public final class NTGenerators extends Object
Standard generators.
See Also:
  • "SoundFontⓡ Technical Specification 2.04, §8.1 Generator Enumerators Defined"
  • Method Details

    • find

      public static NTGenerator find(int value)
      Find an operator with the given index.
      Parameters:
      value - The index
      Returns:
      The located operator, or a value with "unknown" as the operator name
    • findForName

      public static Optional<NTGenerator> findForName(String name)
      Find an operator with the given name.
      Parameters:
      name - The name
      Returns:
      The located operator
    • generators

      public static Map<Integer,NTGenerator> generators()
      Returns:
      A read-only map of the known specified generators