public class DumpReceiver extends Object implements Receiver
Modifier and Type | Field and Description |
---|---|
static long |
seByteCount |
static long |
seCount |
static long |
smByteCount |
static long |
smCount |
Constructor and Description |
---|
DumpReceiver(PrintStream printStream) |
DumpReceiver(PrintStream printStream,
boolean bPrintTimeStampAsTicks) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
String |
decodeMessage(MetaMessage message) |
String |
decodeMessage(ShortMessage message) |
String |
decodeMessage(SysexMessage message) |
static int |
get14bitValue(int nLowerPart,
int nHigherPart) |
static String |
getHexString(byte[] aByte) |
static String |
getHexString(ShortMessage sm) |
static String |
getKeyName(int nKeyNumber) |
void |
send(MidiEvent e) |
void |
send(MidiMessage message,
long lTimeStamp) |
public static long seByteCount
public static long smByteCount
public static long seCount
public static long smCount
public DumpReceiver(PrintStream printStream)
public DumpReceiver(PrintStream printStream, boolean bPrintTimeStampAsTicks)
public void close()
close
in interface AutoCloseable
close
in interface Receiver
public void send(MidiEvent e)
public void send(MidiMessage message, long lTimeStamp)
public String decodeMessage(ShortMessage message)
public String decodeMessage(SysexMessage message)
public String decodeMessage(MetaMessage message)
public static String getKeyName(int nKeyNumber)
public static int get14bitValue(int nLowerPart, int nHigherPart)
public static String getHexString(byte[] aByte)
public static String getHexString(ShortMessage sm)