SLOrk/2016/FAQ

From CCRMA Wiki
Revision as of 16:17, 30 March 2016 by Tsob (Talk | contribs) (add chuck version and setup)

Jump to: navigation, search

FAQ and useful info for your SLOrk experience is here.

What's with the caps lock?

On SLOrk machines, the "caps lock" key is instead a(nother) control key.

SLOrk Code Repository

We use SVN to save all SLOrk code, from the beginning of time. You'll put yours there too!

Each SLOrk laptop has a copy of this repository at /Users/slork/slork. The master repository is hosted at https://chuck-dev.stanford.edu/svn/slork/trunk.

To update everything in the SLOrk repository, simply open a terminal and type sup. This performs cd ~/slork && svn update, i.e. go to root of your SLOrk repository directory and update all. You can also update only certain directories by navigating to them in terminal, and then typing svn update.


ChucK: version and setup

We use ChucK 1.3.5.3-dev. This is conveniently available in our SVN repo (see above), and is installed on each laptop at ~/slork/bin/chuck

To test and fix a wrong chuck version:

albacore:slork slork$ which chuck
/usr/bin/chuck
albacore:slork slork$ ls -l /usr/bin/chuck 
-rwxr-xr-x  1 root  wheel  5229644 Apr 22  2015 /usr/bin/chuck

We don't want that one!

albacore:slork slork$ sudo rm /usr/bin/chuck
Password:
albacore:slork slork$ which chuck
/Users/slork/slork/bin/chuck

That's the right one!

albacore:slork slork$ cd ~/slork
albacore:slork slork$ sup
~/slork ~/slork
At revision 1891.
~/slork

Now let's double-check that we have the right version.

albacore:slork slork$ chuck --about
usage: chuck --[options|commands] [+-=^] file1 file2 file3 ...
   [options] = halt|loop|audio|silent|dump|nodump|server|about|probe|
               channels:<N>|out:<N>|in:<N>|dac:<N>|adc:<N>|
               srate:<N>|bufsize:<N>|bufnum:<N>|shell|empty|
               remote:<hostname>|port:<N>|verbose:<N>|level:<N>|
               callback|deprecate:{stop|warn|ignore}|
               chugin-load:{auto|off}|chugin-path:<path>|chugin:<name>
   [commands] = add|remove|replace|remove.all|status|time|kill
   [+-=^] = shortcuts for add, remove, replace, status  

chuck version: 1.3.5.3-dev (chimera)
   mac os x : intel : 64-bit
   http://chuck.cs.princeton.edu/
   http://chuck.stanford.edu/

Success!