Code Monkey home page Code Monkey logo

Comments (5)

adamnemecek avatar adamnemecek commented on May 20, 2024 1

Want to do a PR?

from webmidikit.

adamnemecek avatar adamnemecek commented on May 20, 2024 1

@designerfuzzi its an open source project. I provide no guarantees. Feel free to open any PRs as you see fit.

from webmidikit.

abulka avatar abulka commented on May 20, 2024

Is there a way of working around this issue? I "added the package anyway" but Xcode still complains and the project refuses to build.

I'm just learning Xcode swift - where is this manifest to be found and how do I edit it?

from webmidikit.

designerfuzzi avatar designerfuzzi commented on May 20, 2024

after reading line by line guessing the API is conceptional and not ready. Which is , i guess, why there is no conversation about the code but invitation to do the work. After double checking the implementation i see major flaws compared to the CoreMidi C API .. in example this..

internal init(_ type: MIDIObjectType) {
        switch type {
        case .source:
            self = .input
        case .destination:
            self = .output
        case .other:
            fatalError("You didn't initialize a virtual port")
        default:
            fatalError("Unexpected port type \(type)")
        }
    }

there are not virtual port types in CoreMIDI, just input or output. a Virtual Port is always either an input or output just that parts are wise versa switched .. which allows CoreMIDI to send (in example Notes) via receiving and receiving via sending.
Even worse, the code introduces a fataError where it does not belong.

from webmidikit.

designerfuzzi avatar designerfuzzi commented on May 20, 2024

ok.. that tells me it was more of a proposal and not ready made part of AudioKit. Despite things are so desperate it is indeed needed. What i can't tell yet is how latency and speed is going with WebMidiKit (which would earn its name once it is really compatible with a working WebKit class). That is because swift is after all not the fastest approach and C and C++ are widely used in Audio and Midi for good reasons

from webmidikit.

Related Issues (17)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.