Demo scripts for HID functionality. Includes keyboard library for basic keyboard input.
A demonstration of using the norns USB HID functionality
Requirements
An HID device - like a USB keyboard or mouse
Documentation
hid-events.lua Plug in an hid device and send some events. Event data will print to Maiden REPL. This is handy for figuring out what codes your device sends.
Very likely. It’s not listed in the tech specs on their website, but if knob turns show up with the hid-events.lua script then you could use that and map it to something interesting in your scripts!
my first thought for a keyboard app is loosely based on this old dreamcast game
I constantly have to create new passwords for various work accounts and realized my quirk of choosing based on rhythm and key position (rather than meaning) could be the framework for a weird game/sequencer
btw. tt-script parser is implemented in ragel and is very portable. tt-script opcodes are less portable simply because they tend to call HW-specific stuff directly.
Thinking ahead at the possibilities, the potential of norns running some sort of teletype script + crow + telex expanders could be a really cool way to control a modular system–it sounds like crow will be able to execute code in someway, so maybe scripts could even run “headless” (i.e. without a norns connected).
Do you have any info how to get TidalCycles running on Norns - it was partially the reason why i upgraded to CM3+ for the extra memory to run it? An idiots guide. Because i am an idiot
I think there’s a non-trivial amount of work to be done: first one would have to install Haskell and the Tidal interpreter over it and check to see that SuperDirt works on Norns. Both likely eminently “doable”. Assuming that’s done, the trouble becomes writing a Lua script (or otherwise making some decision) for the interface between the Tidal interpreter and the Norns screen.
I was mostly kidding, but it does seem like a cool undertaking.
I got tidalcycles installed on my other pisound/raspberry pi and it worked fine
Not sure how superdirt would interact with Norns mind. There seemed to be an utter lack of documentation on how/why it worked
I’m more intrigued by the idea of a “midiForth” now. With generative/manipulative/extensible features. I had BBC Forth back in the ‘80s & liked it then. Reading about using it to control telescopes etc. It actually seems a good choice for a lightweight control language without a lot of syntax to get in the way…