GithubHelp home page GithubHelp logo

passthrough's People

Contributors

danut007ro avatar frederickk avatar nattog avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

passthrough's Issues

Bug - saved state not referring to actual ports

  • Saved state uses table index to assign to ports
  • This causes issues when MIDI devices isn't same on new load
  • Assign state properties based on actual port index
  • On passthrough launch, if config contains settings for this port index then we can use the saved state
  • Save state and repeat

Handle concurrent script and passthrough midi device events

passthrough and scripts can override each others event callbacks . on the passthrough side it can be changed so that we can add the previous midi event into the current one

rough version could look like this:

action = function(value)
            state.midi_device = value
            midi_device.event = nil
            local existing_event = midi.vports[value].event and midi.vports[value].event or nil
            midi_device = midi.connect(value)
            midi_device.event = function(data) 
              if existing_event then
                existing_event(data)
              end
              device_event(data)
            end
        end

downside would be changing between connected midi devices in a script won't have this functionality. users would have to re-switch in passthrough .

Increase possible devices

pt could handle data coming from all devices, and target either specific ports or all

this might make the "interface" redundant

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.