Package org.jjazz.rhythm.api
Class RhythmVoiceDelegate
java.lang.Object
org.jjazz.rhythm.api.RhythmVoice
org.jjazz.rhythm.api.RhythmVoiceDelegate
A special RhythmVoice which is a delegate for another source RhythmVoice.
 
Delegates are used in AdaptedRhythms to enable rhythm music generation while sparing "Midi channel space" in the MidiMix.
- 
Nested Class Summary
Nested classes/interfaces inherited from class org.jjazz.rhythm.api.RhythmVoice
RhythmVoice.Type - 
Method Summary
Modifier and TypeMethodDescriptionstatic RhythmVoiceDelegatecreateInstance(Rhythm container, RhythmVoice rvSource) Create a delegate for rvSource.toString()Methods inherited from class org.jjazz.rhythm.api.RhythmVoice
equals, getContainer, getDrumKit, getName, getPreferredChannel, getPreferredInstrument, getPreferredInstrumentSettings, getType, hashCode, isDrums, toLongString 
- 
Method Details
- 
createInstance
Create a delegate for rvSource.All rvSource parameters are reused by the created instance, except for the container and name.
- Parameters:
 container-rvSource-- Returns:
 - Throws:
 IllegalArgumentException- If container==rvSource.getContainer()
 - 
getSource
 - 
toString
- Overrides:
 toStringin classRhythmVoice
 
 -