WebMIDIKit icon indicating copy to clipboard operation
WebMIDIKit copied to clipboard

Simplest MIDI Swift library

Results 7 WebMIDIKit issues
Sort by recently updated
recently updated
newest added

Hi, I'm new to swift I try to get the midi input port list by `import WebMIDIKit` `let midi: MIDIAccess = MIDIAccess()` `let inputPort: MIDIInput? = midi.inputs.prompt()` It build succeeded...

The problem is here: `Assertion failed: file WebMIDIKit/MIDIPortMap.swift, line 72` The code: `assert(port.state == .connected)` Is this assertion necessary?

`AudioGetCurrentHostTime()` and `AudioConvertNanosToHostTime(UInt64($0 * 1000000))` don't exist on iOS so we need to use https://developer.apple.com/library/archive/qa/qa1643/_index.html any idea how we should go about using the `CAHostTimeBase` obj-c class in order to...

MIDI events are not received when app goes to background. How can this be enabled?

https://github.com/adamnemecek/WebMIDIKit/blob/6f3506937c141f04edaaa182502984d7baaa2e26/Sources/WebMIDIKit/MIDIPortMap.swift#L70 This assertion fires when you unplug a MIDI device of which a port is used. I think removing this cause for runtime exceptions in DEBUG builds is a good...

After adding dependency, the following error: the manifest is missing a Swift tools version specification; consider prepending to the manifest '// swift-tools-version: 5.7.1' to specify the current Swift toolchain version...