Package org.jjazz.midimix.api
Class UserRhythmVoice
java.lang.Object
org.jjazz.rhythm.api.RhythmVoice
org.jjazz.midimix.api.UserRhythmVoice
A special RhythmVoice subtype for user phrases.
-
Nested Class Summary
Nested classes/interfaces inherited from class org.jjazz.rhythm.api.RhythmVoice
RhythmVoice.Type
-
Field Summary
-
Constructor Summary
ConstructorDescriptionUserRhythmVoice
(String name) Create a melodic UserRhythmVoice.UserRhythmVoice
(String name, DrumKit drumKit) Create a drums UserRhythmVoice. -
Method Summary
Methods inherited from class org.jjazz.rhythm.api.RhythmVoice
equals, getContainer, getDrumKit, getName, getPreferredChannel, getPreferredInstrument, getPreferredInstrumentSettings, getType, hashCode, isDrums, toLongString
-
Field Details
-
DEFAULT_USER_PHRASE_CHANNEL
public static final int DEFAULT_USER_PHRASE_CHANNEL- See Also:
-
CONTAINER
-
-
Constructor Details
-
UserRhythmVoice
Create a melodic UserRhythmVoice.- Parameters:
name
- Can't be null
-
UserRhythmVoice
Create a drums UserRhythmVoice.- Parameters:
name
- Can't be nulldrumKit
- Can't be null
-
-
Method Details
-
toString
- Overrides:
toString
in classRhythmVoice
-