Documentation
    Preparing search index...

    The parameters accepted by the Player constructor.

    type PlayerParams = {
        draw: Draw;
        getPart: GetPart;
        instruments: Record<string, Sampler>;
        options?: PlayerOptions;
        startAudio: () => Promise<void>;
        transport: Transport;
    }
    Index
    draw: Draw

    The Draw instance

    getPart: GetPart

    The function used to create the parts

    instruments: Record<string, Sampler>
    options?: PlayerOptions

    The Player options

    startAudio: () => Promise<void>

    The audio initializer function

    transport: Transport

    The Transport instance