1.2 Getting Around in SC3
1.2 Getting Around in SC3
Getting help
If you just press help this brings up the main help menu. If you have selected some
text you may be able to get help on that specific thing, but the help pages only
exist for certain items. These are usually things with capital letters in front,
like:
There are further hints on obtaining help available from the help page itself, or
double click on the underlined text here:
[More-On-Getting-Help]
(OS X) using Find in the OS X Finder- use cmd+F to bring up the search
unix Commands can also be used within SC3 using the unixCmd method for String
(OS X) You can use a Terminal window to do this directly from the command line. You
find the Terminal under Utilities in the Applications folder on your OS X drive.
-----------------------------------------------------------------------
Advanced- getting the result of unix commands back to SuperCollider:
(
//var p, l,
d = "";
p = Pipe.new("ls -l", "r");
l = p.getLine;
while({l.notNil}, {d = d ++ l ++ "\n"; l = p.getLine; });
p.close;
d[0..20]
-----------------------------------------------------------------------
Looking at source code
rand //highlight 'rand' and then press cmd+Y (3.6: press cmd+I as above)
Array.hasHelpFile
You can also bring up a browser GUI for classes by sending the class name the
'browse' message
Array.browse
Occasionally a Server/Lang crash might force you to kill the applications from the
system. 3.5 and earlier, the server graphic has a 'K' next to the boot button,
which will attempt to kill all scsynths.
ps -aux
or
top
To see what processes are running and their numerical IDs then
kill (processnumber)
To stop them. If on boot SC3 can't set up an OSC connection, there may be an old
Server instance running which you have to go in an kill explicitly via the command
line.
(OS X) You can do the same kill operations from the graphical ActivityMonitor
program, or via the Force Quit option from the Dock, or via cmd+alt+esc. There is
also a K button (for kill all server instances) on the standard server window.
--------------------------------------------------------------------------------
Managing SC SynthDefs (this won't be an issue until you get more experienced)
SC3.5 or earlier:
"rm synthdefs/*.scsyndef".unixCmd;
SC3.6 has a different structuring to the file system. You can open package contents
(right click option) on the SuperCollider app in the finder, to go explore.