|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.uiuc.cs397rhc.sound.MidiFilter
edu.uiuc.cs397rhc.sound.InspectorFilter
A pass-through filter that prints out all of the messages it gets. In
particular, it prints a detailed description of ShortMessages.
MidiPlayer| Constructor Summary | |
|---|---|
InspectorFilter()
Creates an inspector filter. |
|
InspectorFilter(javax.sound.midi.Receiver r)
Creates an inspector filter that sends to the specified receiver. |
|
| Method Summary | |
|---|---|
javax.sound.midi.MidiEvent[] |
applyFilter(javax.sound.midi.MidiMessage mesg,
long time)
Prints out details of the specified message. |
| Methods inherited from class edu.uiuc.cs397rhc.sound.MidiFilter |
|---|
close, getMicrosecondPosition, getReceiver, getSequencer, isApplicable, send, setReceiver, setSequencer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public InspectorFilter()
public InspectorFilter(javax.sound.midi.Receiver r)
r - the receiver events should be passed on to| Method Detail |
|---|
public javax.sound.midi.MidiEvent[] applyFilter(javax.sound.midi.MidiMessage mesg,
long time)
applyFilter in class MidiFiltermesg - the message to describetime - this parameter is not used
MidiEvents whose MidiMessages
and timestamps should be sent instead of the given message and timestamp
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||