Enum Class GestureGranularParams.TimeTransform
java.lang.Object
java.lang.Enum<GestureGranularParams.TimeTransform>
net.paulhertz.pixelaudio.granular.GestureGranularParams.TimeTransform
- All Implemented Interfaces:
Serializable,Comparable<GestureGranularParams.TimeTransform>,Constable
- Enclosing class:
- GestureGranularParams
public static enum GestureGranularParams.TimeTransform
extends Enum<GestureGranularParams.TimeTransform>
Describes the primary timing transform selected by a configuration or user interface.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionScale event times toGestureGranularParams.targetDurationMs.Use gesture timing unless value-driven target fields request additional transforms.Resample the event sequence toGestureGranularParams.targetCount.Apply a timing warp withGestureGranularParams.warpShapeandGestureGranularParams.warpExponent. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static GestureGranularParams.TimeTransform[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
RAW_GESTURE
Use gesture timing unless value-driven target fields request additional transforms. -
RESAMPLED_COUNT
Resample the event sequence toGestureGranularParams.targetCount. -
DURATION_SCALED
Scale event times toGestureGranularParams.targetDurationMs. -
WARPED
Apply a timing warp withGestureGranularParams.warpShapeandGestureGranularParams.warpExponent.
-
-
Constructor Details
-
TimeTransform
private TimeTransform()
-
-
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
-