Home | History | Annotate | Download | only in com.example.android.common.midi

Lines Matching full:byte

26     public static final byte STATUS_COMMAND_MASK = (byte) 0xF0;
27 public static final byte STATUS_CHANNEL_MASK = (byte) 0x0F;
30 public static final byte STATUS_NOTE_OFF = (byte) 0x80;
31 public static final byte STATUS_NOTE_ON = (byte) 0x90;
32 public static final byte STATUS_POLYPHONIC_AFTERTOUCH = (byte) 0xA0;
33 public static final byte STATUS_CONTROL_CHANGE = (byte) 0xB0;
34 public static final byte STATUS_PROGRAM_CHANGE = (byte) 0xC0;
35 public static final byte STATUS_CHANNEL_PRESSURE = (byte) 0xD0;
36 public static final byte STATUS_PITCH_BEND = (byte) 0xE0;
39 public static final byte STATUS_SYSTEM_EXCLUSIVE = (byte) 0xF0;
40 public static final byte STATUS_MIDI_TIME_CODE = (byte) 0xF1;
41 public static final byte STATUS_SONG_POSITION = (byte) 0xF2;
42 public static final byte STATUS_SONG_SELECT = (byte) 0xF3;
43 public static final byte STATUS_TUNE_REQUEST = (byte) 0xF6;
44 public static final byte STATUS_END_SYSEX = (byte) 0xF7;
47 public static final byte STATUS_TIMING_CLOCK = (byte) 0xF8;
48 public static final byte STATUS_START = (byte) 0xFA;
49 public static final byte STATUS_CONTINUE = (byte) 0xFB;
50 public static final byte STATUS_STOP = (byte) 0xFC;
51 public static final byte STATUS_ACTIVE_SENSING = (byte) 0xFE;
52 public static final byte STATUS_RESET = (byte) 0xFF;
63 * You can tell how long a MIDI message is from the first status byte.
66 * @return number of bytes in a complete message, zero if data byte passed
68 public static int getBytesPerMessage(byte statusByte) {
79 return 0; // data byte
89 public static boolean isAllActiveSensing(byte[] msg, int offset,
94 byte b = msg[offset + i];