Class RP_SYS_DrumsTransformValue
java.lang.Object
org.jjazz.phrasetransform.api.rps.RP_SYS_DrumsTransformValue
A RhythmParameter value to transform a drums phrase.
Always contains a DrumsMixTransform() at last position in the transform chain.
-
Constructor Summary
ConstructorDescriptionCreate a deep copy of the specified value. -
Method Summary
Modifier and TypeMethodDescriptionboolean
getCopy
(PhraseTransformChain chain) Return a copy of this object but with the specified chain.getTransformChain
(boolean excludeDrumsMixTransform) Get a copy of the chain associated to rv.int
hashCode()
static RP_SYS_DrumsTransformValue
loadFromString
(RhythmVoice rv, String s) Create an object from a string.static String
Save the specified object state as a string.toString()
-
Constructor Details
-
RP_SYS_DrumsTransformValue
-
RP_SYS_DrumsTransformValue
Create a deep copy of the specified value.- Parameters:
value
-
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
getRhythm
-
getRhythmVoice
-
getCopy
Return a copy of this object but with the specified chain.- Parameters:
chain
- If null, the returned copy will use the default value. If not null, the last PhraseTransform must be a DrumsMixTransform instance.- Returns:
-
getTransformChain
Get a copy of the chain associated to rv.- Parameters:
excludeDrumsMixTransform
- If true do not include in the return value the DrumsMixTransform at last position- Returns:
- Can't be null
-
getDrumsMixTransform
-
toDescriptionString
-
saveAsString
Save the specified object state as a string.- Parameters:
v
-- Returns:
- See Also:
-
#loadFromString(org.jjazz.rhythm.api.Rhythm, java.lang.String)
PhraseTransformChain.saveAsString(org.jjazz.phrasetransform.api.PhraseTransformChain)
-
loadFromString
Create an object from a string.- Parameters:
rv
- Must have a container defined and be of RhythmVoice.Type.DRUMSs
- Example "[uniqueId1#prop1=value1,prop2=value2|uniqueId2#|uniqueId3#prop1=value1]"- Returns:
- Can be null
- See Also:
-
toString
-