データと相互運用Data & Interchange · 16

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.

📷sysex-editorSysEx ダイアログ(セルエディタ+トークンボタン+Preview)the SysEx dialog (cell editor, token buttons, Preview)

トークン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.

確認Audition — 編集中に SysEx をプレビュー送出して動作を確認できます。 — You can preview-send a SysEx while editing to check it.
SysEx が音源に届かないときIf SysEx doesn't reach your instrument — DAW のプラグインとして使う場合、ホスト側の MIDI フィルター設定で SysEx が既定で遮断されていることがあります。midiom が SysEx を正しく出力していても、ホストがフィルタすると音源まで届きません。SysEx が反応しないときは、DAW の MIDI フィルター設定(特に「スルー(Thru)」側)で SysEx を有効化してください。→ ホスト実行時に気をつけること — In a DAW, the host's MIDI filter may block SysEx by default. midiom can output the SysEx correctly and the host still filters it out before it reaches the instrument. If a SysEx has no effect, enable SysEx in your DAW's MIDI filter settings (the "thru" path in particular). → Running under a host