nattog / passthrough Goto Github PK
View Code? Open in Web Editor NEWmidi routing and processing between connected ports for monome norns
midi routing and processing between connected ports for monome norns
pt params are positioned at end, position them before the script params
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 .
pt could handle data coming from all devices, and target either specific ports or all
this might make the "interface" redundant
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.