[edit] refreshing my memory hereā¦
in the past iāve used a host shield designed for arduino pro mini with teensy, for dev+host:
https://www.pjrc.com/teensy/td_libs_USBHostShield.html
but this is actually a kind of sub-processor (maxim MAX3420E host controller) connected with SPI.
does newer teensy actually have multiple ports onboard? needs research
[ed] yep, appears 3.6 really does have two full-blown ports on it. the cortex-m4 is pretty heavy overkill, processing-wise, but maybe thats fine for POC.
later. power management is already my major concern here. (does the adapter also need to supply grid power? &c.) part cost and programming complexity also goes up.
well, i disagree a little, but NBD, we can support that trivially and even make it the default. in my limited capacity as an ios user, my preference would be to have something very slightly more sophisticated to plug into animoog or whatever. it would add tremendous value to the āadapterā object, transforming it from a liability to an asset.
so, concrete proposal: have the thing respond to Program Change by switching mappings. make āpassthroughā mapping a fixed default (program zero or something.)
to me, having a lua interpreter on the teensy isnāt vague or blue-sky at all, but a trivial first step to provide basic config like channel selection. lua scripts make a nice config format and the LVM is super lightweight; these days itās the first thing i add when prototyping this kinda stuff. (easier than rolling a bespoke config language with ragel or whatever.)
iāll try and get going on some of these side channels (dev+host mode, config channel.) dovetails with some work stuff i gotta do in the next couple weeks anyway.