Package org.staccato.functions
Class SysexFunction
- java.lang.Object
-
- org.staccato.functions.SysexFunction
-
- All Implemented Interfaces:
SubparserFunction
public class SysexFunction extends java.lang.Object implements SubparserFunction
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String[]
NAMES
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description void
apply(java.lang.String parameters, StaccatoParserContext context)
static SysexFunction
getInstance()
java.lang.String[]
getNames()
Returns the names of this function, which are the same names that would be seen in the Staccato function call, e.g., "TRILL" for a trill function.
-
-
-
Method Detail
-
getInstance
public static SysexFunction getInstance()
-
getNames
public java.lang.String[] getNames()
Description copied from interface:SubparserFunction
Returns the names of this function, which are the same names that would be seen in the Staccato function call, e.g., "TRILL" for a trill function. The name of the function must be expressed in all capital letters. This method may return multiple names of a function to allow for abbreviations (e.g., TR or TRILL could both be legal names for the trill function)- Specified by:
getNames
in interfaceSubparserFunction
- Returns:
-
apply
public void apply(java.lang.String parameters, StaccatoParserContext context)
- Specified by:
apply
in interfaceSubparserFunction
-
-