mwg API
    Preparing search index...

    Interface MidiPlayerOptions

    interface MidiPlayerOptions {
        play?: (options: ToneOptions) => Playable;
        volume?: number;
        waveform?: Waveform;
    }
    Index
    play?: (options: ToneOptions) => Playable

    voices one scheduled note; defaults to audio.playTone

    volume?: number

    peak volume; scaled per note by that note's own MIDI velocity

    waveform?: Waveform