sc-hacks is a library for SuperCollider which supports live-coding and application design.
Use is made of the sample bank and buffer loading code of SuperDirt from the tidalcycles repository by Alex McLean.
This library reviews the techniques developed previous libraries for SuperCollider tiny-sc and tiny-inc, and builds a cleaner, more consistent version.
Documentation on the new library is available here: http://iani.github.io/sc-hacks-doc/.
When starting IDE_Fantasy
you must always specify the name of location where you are running, because that is how the system knows which data to send to the other locations. The name of the location is Symbol.
For March 2019, there are three locations:
\athens
\corfu
\stanford
The symbol \location
below must be one of the three symbols above, depending on where the SuperCollider program is actually running.
There are two ways to start IDE Fantasy:
(1) Standalone : In this mode, SC does not connect to hamachi, and no data are sent to or received from remote locations.
IDE_Fantasy start: \location;
This sets remote clients to an empty array and does not poll hamachi. Data received locally are not forwarded to any remote locations.
IDE_Fantasy start: \location;
This sets remote clients to an empty array and poll hamachi. Data received locally are forwarded to any remote locations found on hamachi.
IDE_Fantasy.connectHamachi;
Run hamachi list
as unix command and set remote names and ips of connected locations by parsing the output of that command.
If IDE_Fantasy is running (if OSC functions are active), then osc data received from local sensors are forwarded to all connected locations.
IDE_Fantasy.clearHamachi;
Set remote names and IPs to empty array. IDE_Fantasy stops sending to remote locations.