isaacpearl / crowjs

a Node.js module for connecting to and communicating with a crow eurorack module
0 stars 0 forks source link

crow.js

Node.js module for connecting to and communicating with a crow eurorack module via JavaScript.

Installation

TODO: publish to npm using this guide: https://docs.npmjs.com/creating-node-js-modules

API

TODO: use apidoc module to generate api documentation

haskell-ish api documentation from initial development notes:

open :: response_callback -> ()
close :: ()

upload_type{ execute
           , reset_and_execute
           , reset_and_save_and_execute
           }

error_state{ badstring
           , badtype
           , badconnection
           }
send :: lua_string -> upload_type -> error_state
update_response_callback :: response_callback -> ()

Future