Open olilarkin opened 5 years ago
wams are different from desktop plugins in the sense that there might not be a host at all: a wam may be integrated into a web app directly, and therefore it "plugs in" with Web Midi API (as well as Web Audio API).
Could a WAM not be a MIDI processor, like you can have say a VST arpeggiator? I think this would be nice, especially if we sort out timestamped MIDI messages. I don't think WAMs should talk directly to the WebMIDI ports. VirtualCZ.io needs to output MIDI (sysex) so i will add WAMController.midiOutPort for now
Seems odd to me that the WAM controller should know about the port.
https://github.com/webaudiomodules/api/blob/3aaa9af4f9d25080810887a1e09021789b180a6f/wamsdk/wam-controller.js#L39