@onjmin/dtm
    Preparing search index...

    Type Alias ExternalSoundFontControl

    type ExternalSoundFontControl = {
        pending: () => boolean;
        set: (src: File | string | null) => Promise<void>;
        status: () => Promise<
            | { state: "none" }
            | { label: string; name: string; presets: number; state: "ok" }
            | { label: string; message: string; state: "error" },
        >;
        url: () => string | undefined;
    }
    Index
    pending: () => boolean

    読み込み元があり、まだ取りに行っていないか。

    set: (src: File | string | null) => Promise<void>

    読み込み元を差し替える(null で外す)。使えない URL なら例外。読み直しが済むまで待つ。

    status: () => Promise<
        | { state: "none" }
        | { label: string; name: string; presets: number; state: "ok" }
        | { label: string; message: string; state: "error" },
    >

    読み込みの結果(表示用。呼ぶと、まだなら取りに行く)。

    url: () => string | undefined

    MML に書ける URL(ファイル・未設定なら undefined)。