|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.frinika.sequencer.model.Lane
com.frinika.sequencer.model.MidiLane
public class MidiLane
| Field Summary | |
|---|---|
static int |
DRUM
|
static int |
MELODIC
|
static int |
SCORE
|
static int |
UNKNOWN_TYPE
Stuff to let the GUI know what sort of lane it is. |
| Fields inherited from class com.frinika.sequencer.model.Lane |
|---|
children, height, parts |
| Constructor Summary | |
|---|---|
protected |
MidiLane()
|
|
MidiLane(FrinikaTrackWrapper ftw,
ProjectContainer project)
Construct an empty lane |
| Method Summary | |
|---|---|
void |
addMidiMessageListener(MidiMessageListener l)
|
void |
addToModel()
Add the lane from the project. |
void |
attachFTW()
|
Part |
createPart()
|
Selectable |
deepCopy(Selectable parent)
Complete copy of object. |
void |
deepMove(long tick)
Lanes just move down the list. |
void |
detachFTW()
|
ControllerListProvider |
getControllerList()
|
MidiPart |
getHeadPart()
|
javax.swing.Icon |
getIcon()
|
java.lang.String[] |
getKeyNames()
|
int |
getMidiChannel()
|
javax.sound.midi.MidiDevice |
getMidiDevice()
|
java.lang.Integer |
getMidiDeviceIndex()
The index of the midiDevice according to the stored order in the saved project |
double |
getMonitorValue()
|
java.lang.String |
getPatchMapName()
|
MidiPlayOptions |
getPlayOptions()
|
MyPatch |
getProgram()
|
javax.sound.midi.Receiver |
getReceiver()
|
int |
getStoredMidiChannel()
The midi channel stored in the saved project |
FrinikaTrackWrapper |
getTrack()
|
int |
getType()
|
java.lang.String |
getVoiceName()
This is used to find the entry in Voice To Patch map. |
boolean |
isDrumLane()
|
boolean |
isMute()
|
boolean |
isRecording()
|
boolean |
isSolo()
|
int |
mapNote(int num)
|
void |
onLoad()
Actions to be done when this lane is loaded |
void |
removeMidiMessageListener(MidiMessageListener l)
|
void |
restoreFromClone(EditHistoryRecordable object)
On removal the EditHistoryContainer will attempt to clone the object - and if restored later it will use the restoreFromClone method to restore the cloned data on the original instance. |
void |
setDrumMapping(int k,
int index)
|
void |
setKeyNames(java.lang.String[] keyNames)
|
void |
setMidiChannel(int channel)
|
void |
setMidiDevice(javax.sound.midi.MidiDevice dev)
|
void |
setMute(boolean b)
|
void |
setPatchMapName(java.lang.String patchMapName)
|
void |
setProgram(int prog,
int msb,
int lsb)
|
void |
setProgram(MyPatch patch)
|
void |
setRecording(boolean b)
|
void |
setSolo(boolean b)
|
void |
setType(int type)
|
protected void |
setUpKeys()
Deprecated. |
void |
setVoiceName(java.lang.String name)
|
| Methods inherited from class com.frinika.sequencer.model.Lane |
|---|
add, addChildLane, addChildLane, clone, displayStructure, getChildren, getDisplayH, getDisplayID, getDisplayY, getFamilyLanes, getHeight, getName, getParts, getProject, isHidden, isOpen, isSelected, leftTickForMove, remove, removeAll, removeChildLane, removeFromModel, rightTickForMove, setHeight, setHidden, setName, setOpen, setSelected |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int UNKNOWN_TYPE
public static final int MELODIC
public static final int DRUM
public static final int SCORE
| Constructor Detail |
|---|
protected MidiLane()
public MidiLane(FrinikaTrackWrapper ftw,
ProjectContainer project)
ftw - project - | Method Detail |
|---|
public java.lang.String getPatchMapName()
public void setPatchMapName(java.lang.String patchMapName)
public MidiPart getHeadPart()
public FrinikaTrackWrapper getTrack()
public javax.sound.midi.MidiDevice getMidiDevice()
public javax.sound.midi.Receiver getReceiver()
public int getMidiChannel()
public int getStoredMidiChannel()
public void restoreFromClone(EditHistoryRecordable object)
EditHistoryRecordable
restoreFromClone in interface EditHistoryRecordablepublic ControllerListProvider getControllerList()
public void attachFTW()
public void detachFTW()
public java.lang.String getVoiceName()
public void setVoiceName(java.lang.String name)
public void onLoad()
Lane
onLoad in class Lane
public void setProgram(int prog,
int msb,
int lsb)
public void setProgram(MyPatch patch)
public MyPatch getProgram()
public Selectable deepCopy(Selectable parent)
Selectable
deepCopy in interface Selectableparent - owner of the new object;
public void deepMove(long tick)
deepMove in interface Selectablepublic void addToModel()
Lane
addToModel in interface SelectableaddToModel in class Lanepublic boolean isRecording()
isRecording in interface RecordableLanepublic boolean isMute()
isMute in interface RecordableLanepublic boolean isSolo()
public void setRecording(boolean b)
setRecording in interface RecordableLanepublic void setMute(boolean b)
setMute in interface RecordableLanepublic void setSolo(boolean b)
public double getMonitorValue()
getMonitorValue in interface RecordableLanepublic MidiPlayOptions getPlayOptions()
public void addMidiMessageListener(MidiMessageListener l)
public void removeMidiMessageListener(MidiMessageListener l)
public void setMidiChannel(int channel)
public boolean isDrumLane()
public void setMidiDevice(javax.sound.midi.MidiDevice dev)
public void setType(int type)
public int getType()
public void setKeyNames(java.lang.String[] keyNames)
@Deprecated protected void setUpKeys()
public java.lang.String[] getKeyNames()
public void setDrumMapping(int k,
int index)
public int mapNote(int num)
public Part createPart()
createPart in class Lanepublic javax.swing.Icon getIcon()
getIcon in class Lanepublic java.lang.Integer getMidiDeviceIndex()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||