Enum Class GestureGranularConfig.WarpShape
java.lang.Object
java.lang.Enum<GestureGranularConfig.WarpShape>
net.paulhertz.pixelaudio.granular.GestureGranularConfig.WarpShape
- All Implemented Interfaces:
Serializable,Comparable<GestureGranularConfig.WarpShape>,Constable
- Enclosing class:
- GestureGranularConfig
Selects the curve used to warp event timing along the gesture.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionReserved for caller-defined timing warp behavior.Exponential timing warp controlled byGestureGranularConfig.warpExponent.No timing warp.Square-root timing warp controlled byGestureGranularConfig.warpExponent. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GestureGranularConfig.WarpShape[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LINEAR
No timing warp. -
EXP
Exponential timing warp controlled byGestureGranularConfig.warpExponent. -
SQRT
Square-root timing warp controlled byGestureGranularConfig.warpExponent. -
CUSTOM
Reserved for caller-defined timing warp behavior.
-
-
Constructor Details
-
WarpShape
private WarpShape()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-