Package org.staccato
Interface SubparserFunction
-
- All Known Implementing Classes:
ChannelPressureFunction,ControllerFunction,PitchWheelFunction,PolyPressureFunction,SysexFunction
public interface SubparserFunction
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidapply(java.lang.String parameters, StaccatoParserContext context)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
-
getNames
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. 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)- Returns:
-
apply
void apply(java.lang.String parameters, StaccatoParserContext context)- Parameters:
parameters-context-
-
-