mwg API
    Preparing search index...

    Interface SoundFontLimits

    How much a SoundFont 3 may decode to, in frames. The defaults (MAX_SAMPLE_FRAMES for one sample, 128 million, 256 MB of 16-bit audio, for the whole font) suit a game font; raise them for a very large one you trust, since each frame is two bytes of memory and a damaged font can ask for any number.

    interface SoundFontLimits {
        sampleFrames?: number;
        totalFrames?: number;
    }
    Index
    sampleFrames?: number

    frames one decoded sample may have

    totalFrames?: number

    frames all the decoded samples of one font may have