|
Opus+ Version 1.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectopusplus.core.instruments.DrumKit
public class DrumKit
Holds a selection of drum sounds which act as a 'kit'. These kits can be assembled at runtime to provide a variety of percussive possibilities.
Constructor Summary | |
---|---|
DrumKit(java.lang.String kitName) Creates a named, empty drum kit object containing no drums |
|
DrumKit(java.lang.String kitName, DrumScale upper, DrumScale lower) Creates a named drum kit object containing the drums scales specified |
Method Summary | |
---|---|
java.lang.Object |
clone() Deep copy implementation of the clone method. |
java.lang.String |
dumpKit() Prints a representation of the kit useful for debugging purposes. |
boolean |
equals(DrumKit other) Equality definition for drum kits. |
java.util.ArrayList |
getDrumIds() Returns an array list of the drum identifiers that comprise this kit. |
DrumKitId |
getDrumKitId() Not all drum kits have an id. |
java.lang.String |
getKitName() Returns the unique name of the kit. |
int |
getKitSize() Get kit size returns the number of drum sounds in this kit |
DrumScale |
getLowerDrumScale() Returns the lower drum scale which comprises part of this drum kit |
DrumScale |
getUpperDrumScale() Returns the upper drum scale which comprises part of this drum kit |
void |
setLowerDrumScale(DrumScale lower) Sets the lower drum scale which comprises part of this kit |
void |
setUpperDrumScale(DrumScale upper) Sets the upper drum scale which comprises part of this drum kit |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DrumKit(java.lang.String kitName)
public DrumKit(java.lang.String kitName, DrumScale upper, DrumScale lower)
Method Detail |
---|
public java.lang.String getKitName()
public final DrumScale getLowerDrumScale()
public final void setLowerDrumScale(DrumScale lower)
public final DrumScale getUpperDrumScale()
public final void setUpperDrumScale(DrumScale upper)
public int getKitSize()
public java.util.ArrayListgetDrumIds()
public DrumKitId getDrumKitId()
public java.lang.String dumpKit()
public boolean equals(DrumKit other)
public java.lang.Object clone()
clone
in class java.lang.Object
|
Opus+ Version 1.0 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |