|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectopenpiano.midi.MidiLoader
public class MidiLoader
The MidiLoader class loads the MIDI events of a MIDI file. The MIDI formats 0 and 1 are supported
| Constructor Summary | |
|---|---|
MidiLoader(Controller controller,
SlidePanel slidePanel,
Settings settings,
File midiFile)
Constructs a new list of MIDI events based on a MIDI files. |
|
| Method Summary | |
|---|---|
LinkedList<Bpm> |
getBpmList()
Returns the MIDI file's list of beats per minute events |
long |
getEndTick()
Returns the last tick of the MIDI file |
MidiTimer |
getMidiTimer()
Returns the clock |
LinkedList<MidiTrack> |
getMidiTracks()
Returns the list of MIDI events per MIDI track |
int |
getTicksPerBeat()
Returns the ticks per beat of the MIDI file |
Boolean |
initFailed()
Returns true if loading of a MIDI file failed |
int |
isFileKnown()
Returns true if the MIDI file is already known |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiLoader(Controller controller,
SlidePanel slidePanel,
Settings settings,
File midiFile)
controller - the main controller of the applicationslidePanel - the panel containing the position slidersettings - a reference to the settings objectmidiFile - the MIDI file to load| Method Detail |
|---|
public LinkedList<Bpm> getBpmList()
public long getEndTick()
public LinkedList<MidiTrack> getMidiTracks()
public int getTicksPerBeat()
public Boolean initFailed()
public int isFileKnown()
public MidiTimer getMidiTimer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||