@turbowarp/types-tw
    Preparing search index...

    Interface Sound

    interface Sound {
        asset: Asset | null;
        assetId: string;
        dataFormat: "mp3" | "wav";
        format: "";
        md5?: string;
        name: string;
        rate: number;
        sampleCount: number;
        soundId: string;
    }

    Hierarchy (View Summary)

    Index

    Properties

    asset: Asset | null

    TW: asset may be null in packaged runtime mode (runtime.isPackaged)

    assetId: string

    The md5 of this asset.

    dataFormat: "mp3" | "wav"
    format: ""
    md5?: string

    The md5 + file extension of this asset. May be missing.

    name: string
    rate: number
    sampleCount: number
    soundId: string