|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectplugin.midi.MidiAnalyzer
public class MidiAnalyzer
Analysis of a Midi Input File. Parses the File and returns the several Tracks converted into lists of note objects.
| Constructor Summary | |
|---|---|
MidiAnalyzer()
Create a new instance |
|
| Method Summary | |
|---|---|
edu.umd.cs.piccolo.PNode |
getDescription()
get the tabulature for midi files |
float |
getFuzzyFactor()
returns the fuzzy factor |
java.util.List |
getItems()
returns the list created by this instance |
java.lang.String |
getName()
get the Plugin name |
int |
getNrOfTracks()
get the number of tracks of this midi file |
javax.swing.JPanel |
getPanel()
get the Midi Panel |
boolean |
isEqual(java.lang.Object o1,
java.lang.Object o2)
find out if two note objects are equal or not |
java.lang.String |
list2String(java.util.List l)
converts the list of note objects into a string |
void |
setFile(java.io.File file)
set the midi-file that has to be read |
void |
setFuzzyFactor(float f)
set the Fuzzy factor |
void |
setTrackNr(int nr)
set the track number |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MidiAnalyzer()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface IArcPlugin
public boolean isEqual(java.lang.Object o1,
java.lang.Object o2)
isEqual in interface IArcPluginpublic javax.swing.JPanel getPanel()
getPanel in interface IArcPluginpublic java.lang.String list2String(java.util.List l)
list2String in interface IArcPluginl - should be the list returned by getItems (or a part of it)
public java.util.List getItems()
throws java.lang.Exception
getItems in interface IArcPluginjava.lang.Exceptionpublic void setFile(java.io.File file)
file - the midi filepublic void setFuzzyFactor(float f)
public float getFuzzyFactor()
public void setTrackNr(int nr)
public int getNrOfTracks()
public edu.umd.cs.piccolo.PNode getDescription()
getDescription in interface IArcPlugin
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||