ASCII table
The following table includes all character codes that can be used in a sysex message and deciphered using the @e_sysextext variable.
The first column contains "non-printable" characters, and I'd say the only "safe" use of codes from that column is 0A - line feed; use that code if you need to separate texts on multiple lines.
Hex | Char (non-printable) | Hex | Char | Hex | Char | Hex | Char |
---|---|---|---|---|---|---|---|
00 | NUL (null) | 20 | SPACE | 40 | @ | 60 | ` |
01 | SOH (start of heading) | 21 | ! | 41 | A | 61 | a |
02 | STX (start of text) | 22 | " | 42 | B | 62 | b |
03 | ETX (end of text) | 23 | # | 43 | C | 63 | c |
04 | EOT (end of transmission) | 24 | $ | 44 | D | 64 | d |
05 | ENQ (enquiry) | 25 | % | 45 | E | 65 | e |
06 | ACK (acknowledge) | 26 | & | 46 | F | 66 | f |
07 | BEL (bell) | 27 | ' | 47 | G | 67 | g |
08 | BS (backspace) | 28 | ( | 48 | H | 68 | h |
09 | TAB (horizontal tab) | 29 | ) | 49 | I | 69 | i |
0A | LF (NL line feed, new line) | 2A | * | 4A | J | 6A | j |
0B | VT (vertical tab) | 2B | + | 4B | K | 6B | k |
0C | FF (NP form feed, new page) | 2C | , | 4C | L | 6C | l |
0D | CR (carriage return) | 2D | - | 4D | M | 6D | m |
0E | SO (shift out) | 2E | . | 4E | N | 6E | n |
0F | SI (shift in) | 2F | / | 4F | O | 6F | o |
10 | DLE (data link escape) | 30 | 0 | 50 | P | 70 | p |
11 | DC1 (device control 1) | 31 | 1 | 51 | Q | 71 | q |
12 | DC2 (device control 2) | 32 | 2 | 52 | R | 72 | r |
13 | DC3 (device control 3) | 33 | 3 | 53 | S | 73 | s |
14 | DC4 (device control 4) | 34 | 4 | 54 | T | 74 | t |
15 | NAK (negative acknowledge) | 35 | 5 | 55 | U | 75 | u |
16 | SYN (synchronous idle) | 36 | 6 | 56 | V | 76 | v |
17 | ETB (end of trans. block) | 37 | 7 | 57 | W | 77 | w |
18 | CAN (cancel) | 38 | 8 | 58 | X | 78 | x |
19 | EM (end of medium) | 39 | 9 | 59 | Y | 79 | y |
1A | SUB (substitute) | 3A | : | 5A | Z | 7A | z |
1B | ESC (escape) | 3B | ; | 5B | [ | 7B | { |
1C | FS (file separator) | 3C | < | 5C | \ | 7C | | |
1D | GS (group separator) | 3D | = | 5D | ] | 7D | } |
1E | RS (record separator) | 3E | > | 5E | ^ | 7E | ~ |
1F | US (unit separator) | 3F | ? | 5F | _ | 7F | DEL |
Please note
There is something called "Extended ASCII", a table with 128 additional characters with the value range (hexadecimal) from 80-FF. These characters can not be used in a sysex message since sysex doesn't allow values over 7F.