spessasynth_lib documentation
    Preparing search index...

    Interface WorkerBankWriteOptions

    Configuration for writing a sound bank in a WorkerSynthesizer.

    interface WorkerBankWriteOptions {
        bankID: string;
        sequencerID: number;
        trim: boolean;
        writeEmbeddedSoundBank: boolean;
    }
    Index
    bankID: string

    The sound bank ID in the sound bank manager to write.

    sequencerID: number

    Which sequencer to grab the MIDI from if trimming. Defaults to the first one (0).

    trim: boolean

    Trim the sound bank to only include samples used in the current MIDI file.

    writeEmbeddedSoundBank: boolean

    If the embedded sound bank should be written instead if it exists.