Jump to content

SLOrk/2016/FAQ: Difference between revisions

From CCRMA Wiki
Tsob (talk | contribs)
Created page with "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 Co..."
 
Tsob (talk | contribs)
add chuck version and setup
Line 12: Line 12:


To update everything in the SLOrk repository, simply open a terminal and type <code>sup</code>. This performs <code>cd ~/slork && svn update</code>, ''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 <code>svn update</code>.
To update everything in the SLOrk repository, simply open a terminal and type <code>sup</code>. This performs <code>cd ~/slork && svn update</code>, ''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 <code>svn update</code>.
== 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 <code>~/slork/bin/chuck</code>
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!

Revision as of 23:17, 30 March 2016

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!