MIDI Sample Dump Standard MessagesLike any other System Exclusive message, the end of this message is indicated by the End of Exclusive message, or any MIDI message other than a System Real Time message
| |
MIDI Sample Dump Standard Messages
|
| Status Byte | Data Bytes | Message | ||||||
|---|---|---|---|---|---|---|---|---|
| F0 | 7E | dev | 01 | ss ss bb tt tt tt nn nn nn sp sp sp ep ep ep ll | Sample Dump Header | |||
| Value | Description | |||||||
| ss ss | Sample number (LSB first) | |||||||
| bb | Number of significant bits per sample Range: 08-1C (8-28) | |||||||
| tt tt tt | Sample period in nanoseconds (LSB first) | |||||||
| nn nn nn | Sample length in words (LSB first) | |||||||
| sp sp sp | Sustain Loop start-point in words (LSB first) | |||||||
| ep ep ep | Sustain Loop end-point in words (LSB first) | |||||||
| ll | Loop type | 00=forward 01=backward/forward 7F=loop off | ||||||
| Status Byte | Data Bytes | Message | ||||||
| F0 | 7E | dev | 02 | pp <120 bytes> csum | Sample Data Packet | |||
| Value | Description | |||||||
| pp | Packet number (running count 00-7F) | |||||||
| <120 bytes> | 7 bits/byte, left justified Example: | |||||||
| csum | Checksum | This is an XOR of: 7E dev 02 pp <120 bytes> | ||||||
| Status Byte | Data Bytes | Message | ||||||
| F0 | 7E | dev | 03 | ss ss | Sample Dump Request | |||
| Value | Description | |||||||
| ss ss | Sample number (LSB first) | |||||||
| Status Byte | Data Bytes | Message | ||||||
| F0 | 7E | dev | 05 | 01 | ss ss nn nn ll sp sp sp ep ep ep | Multiple Loop points | ||
| Value | Description | |||||||
| ss ss | Sample number (LSB first) | |||||||
| nn nn | Loop number (LSB first) | 7F 7F=delete all loops | ||||||
| ll | Loop type | 00=forward 01=backward/forward 7F=loop off | ||||||
| sp sp sp | Loop start-point in words (LSB first) | |||||||
| ep ep ep | Loop end-point in words (LSB first) | |||||||
| Status Byte | Data Bytes | Message | ||||||
| F0 | 7E | dev | 05 | 02 | ss ss nn nn | Request Loop points | ||
| Value | Description | |||||||
| ss ss | Sample number (LSB first) | |||||||
| nn nn | Loop number (LSB first) | 7F 7F=request all loops | ||||||