SysEx
システムエクスクルーシブを、F0/F7 の間のボディトークンとして書きます。 Write System-Exclusive messages as body tokens between the F0/F7 frame.
SysEx イベントには、固定の F0 / F7 フレームの間に入るボディだけを記述します(フレームはエディタが付与し、保存しません)。トークンは空白区切りで、送出時に展開されます。表示名を付けることもできます。
A SysEx event holds only the body that sits between the fixed F0 / F7 frame (the frame is added by the editor and not stored). Tokens are space-separated and expanded at send time. An optional display name can be attached.
SysEx エディタThe SysEx editor
SysEx イベントは専用ダイアログで編集します。本体はセル方式の 16 進エディタで、1 セル=1 バイトまたは特殊トークンです。両端の F0 / F7 は固定枠として表示され(カーソルは届きますが編集はできません)、セルは左から右へ並び、行末で折り返します。
SysEx events are edited in a dedicated dialog. The body is a cell-based hex editor — one cell per byte or special token. The fixed F0 / F7 frame is shown at the ends (reachable but not editable); cells flow left-to-right and wrap at the line end.
- 16 進入力:数字キーで現在セルに桁を入れます(上書き/挿入はモード次第)。 Hex entry: type hex digits into the current cell (overwrite or insert per mode).
- トークンボタン:
ch/$1/$2/CS/SSはボタン(または対応する F キー)で挿入します。各ボタンには対応する F キーが小さく表示されます。 Token buttons: insertch/$1/$2/CS/SSwith a button (or its F-key); each button shows its F-key as a small badge. - 名前:表示名を付けられます(一覧での識別用)。 Name: an optional display name for the event.
- Preview:その場で送出して動作を確認できます。 Preview: send it on the spot to check it.
トークンTokens
| トークンToken | 意味Meaning |
|---|---|
HH | リテラルバイト(16 進 2 桁、00–7F)a literal byte (two hex digits, 00–7F) |
ch | トラックの MIDI チャンネル 0–15the track's MIDI channel, 0–15 |
$1 / $2 | イベントの data1 / data2 を送出時に差し込むsubstituted from the event's data1 / data2 at send |
CS | チェックサム開始(バイトは出さず、累算を開始)checksum start (emits no byte; begins accumulation) |
SS | チェックサムバイト=(128 − sum%128) % 128checksum byte = (128 − sum%128) % 128 |
例Example
40 00 7F 00 41 CS 40 11 SS
CS 以降のバイトを足し合わせ、SS の位置にチェックサムを置きます。送出時には先頭に F0、末尾に F7 が付きます。フルダンプを貼り付けると、先頭 F0 / 末尾 F7 は自動で取り除かれます。
The bytes after CS are summed and the checksum is placed at SS. At send time F0 is prepended and F7 appended. Pasting a full dump drops a leading F0 / trailing F7 automatically.