mwg API
    Preparing search index...

    Function auditEngines

    • Renders a calibration note per program through each engine and reports what a listener would call broken before anyone listens: an engine that was not used (the fallback told through onMidiSynthFallback), a note that comes out silent, samples pinned at full scale, a constant offset, and a strongest partial that is no harmonic of the note (a wrong pitch). The numbers are screening, not a verdict: a flagged note is one to listen to, an unflagged one is not proof.

      Parameters

      Returns AuditReport

      import { auditEngines } from '@datamoc/mwg/audio';

      const report = auditEngines({ engines: ['builtin'], programs: [0], notes: [69] });
      console.log(report.rendered, report.findings.length);