mwg API
    Preparing search index...

    Interface MidiHumanizerEngine

    interface MidiHumanizerEngine {
        approximateSizeMb: number;
        tierName: string;
        initialize(): Promise<void>;
        process(midi: MidiFile, options: HumanizationOptions): Promise<MidiFile>;
    }

    Implemented by

    Index
    approximateSizeMb: number

    roughly what the tier costs a bundle, in megabytes: lite is code, magenta is a model

    tierName: string

    the tier this engine implements, as HumanizerFactory.create spells it

    • loads anything heavy; idempotent, and already called for you by the factory

      Returns Promise<void>