Class RP_SYS_Intensity
java.lang.Object
org.jjazz.rhythm.api.RP_Integer
org.jjazz.rhythmparametersimpl.api.RP_SYS_Intensity
- All Implemented Interfaces:
Cloneable, RhythmParameter<Integer>, RpEnumerable<Integer>
Standard RhythmParameter: Intensity=[-10;+10]
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRP_SYS_Intensity(boolean isPrimary) RP_SYS_Intensity(boolean isPrimary, int defaultVal, int minVal, int maxVal, int step) -
Method Summary
Modifier and TypeMethodDescriptionstatic RP_SYS_IntensitygetIntensityRp(Rhythm rhythm) static intgetRecommendedVelocityShift(int rpValue) The recommended velocity shift to apply for a given RP_SYS_Intensity value.Methods inherited from class RP_Integer
calculatePercentage, calculateValue, convertValue, equals, getCopy, getDefaultValue, getDescription, getDisplayName, getDisplayValue, getId, getMaxValue, getMinValue, getNextValue, getPossibleValues, getPreviousValue, getStep, getValueDescription, hashCode, isCompatibleWith, isPrimary, isValidValue, loadFromString, saveAsString, toStringMethods inherited from interface RhythmParameter
cloneValue
-
Field Details
-
ID
-
-
Constructor Details
-
RP_SYS_Intensity
public RP_SYS_Intensity(boolean isPrimary) -
RP_SYS_Intensity
public RP_SYS_Intensity(boolean isPrimary, int defaultVal, int minVal, int maxVal, int step)
-
-
Method Details
-
getRecommendedVelocityShift
public static int getRecommendedVelocityShift(int rpValue) The recommended velocity shift to apply for a given RP_SYS_Intensity value.- Parameters:
rpValue-- Returns:
-
getIntensityRp
-