diff options
-rw-r--r-- | README.org | 15 |
1 files changed, 7 insertions, 8 deletions
@@ -3,19 +3,18 @@ Three scripts useful for local development on norns (i.e., outside of the ~maiden~ web interface): + ~norns_shell~: Get a lua shell or supercollider shell on a norns from the command-line, similar to the shell in the maiden interface. This connects to the same websocket interface that ~maiden~ does. + #+BEGIN_SRC sh + # get a lua shell + ./norns_shell + ./norns_shell ws://norns.local:5555 + # get a supercollider shell + ./norns_shell ws://norns.local:5556 + #+END_SRC + ~norns_upload~: Upload a file to norns over http, just like how ~maiden~ does it. + ~norns_load~: Activate a norns script already on the device with ~norns.script.load(...)~ on the lua interface. ~norns_shell~ requires nanomsg. Install everything with ~sudo make install~. -#+BEGIN_SRC sh -# get a lua shell -./norns_shell -./norns_shell ws://norns.local:5555 -# get a supercollider shell -./norns_shell ws://norns.local:5556 -#+END_SRC - There's an example in ~example/~ of a project with a Makefile that uploads and loads when ~M-x compile~'d in emacs. This piece of emacs lisp may be helpful if you'd like to ~C-c C-c~ instead. #+BEGIN_SRC lisp |