UNPKG

webdaw-modules

Version:

a set of modules for building a web-based DAW

14 lines (13 loc) 377 B
/// <reference types="webmidi" /> import { MIDIEvent } from "./MIDIEvent"; export interface Track { id: string; latency: number; name?: string; volume?: number; inputs: string[]; outputs: string[]; instrument?: string; processor?: (event: MIDIEvent | WebMidi.MIDIMessageEvent) => void; } export declare const createTrack: (id: string) => Track;