Package com.io7m.jnoisetype.api
Class NTGenerators
java.lang.Object
com.io7m.jnoisetype.api.NTGenerators
Standard generators.
- See Also:
-
- "SoundFontⓡ Technical Specification 2.04, §8.1 Generator Enumerators Defined"
-
Method Summary
Modifier and TypeMethodDescriptionstatic NTGeneratorfind(int value) Find an operator with the given index.static Optional<NTGenerator>findForName(String name) Find an operator with the given name.static Map<Integer,NTGenerator>
-
Method Details
-
find
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
Find an operator with the given name.- Parameters:
name- The name- Returns:
- The located operator
-
generators
- Returns:
- A read-only map of the known specified generators
-