|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectjava.lang.Thread
ufg.processing.MidiPlayer
public class MidiPlayer
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class java.lang.Thread |
|---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
| Field Summary |
|---|
| Fields inherited from class java.lang.Thread |
|---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
|---|---|
MidiPlayer(java.lang.String filePath)
|
|
| Method Summary | |
|---|---|
void |
destroy()
|
boolean |
isDone()
|
void |
loop()
|
void |
meta(javax.sound.midi.MetaMessage event)
|
static void |
playNote(int note)
|
static void |
playNote(int channel,
int note,
int velocity,
int duration)
|
void |
start()
|
static void |
startNote(int note)
|
static void |
startNote(int channel,
int note,
int velocity)
|
static void |
stopNote(int note)
|
static void |
stopNote(int channel,
int note)
|
void |
stopp()
|
void |
waitUntilFinished()
|
| Methods inherited from class java.lang.Thread |
|---|
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MidiPlayer(java.lang.String filePath)
| Method Detail |
|---|
public void loop()
public void start()
start in class java.lang.Threadpublic void stopp()
public void destroy()
destroy in class java.lang.Threadpublic boolean isDone()
public void waitUntilFinished()
public void meta(javax.sound.midi.MetaMessage event)
meta in interface javax.sound.midi.MetaEventListenerpublic static void playNote(int note)
public static void playNote(int channel,
int note,
int velocity,
int duration)
public static void startNote(int note)
public static void startNote(int channel,
int note,
int velocity)
public static void stopNote(int note)
public static void stopNote(int channel,
int note)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||