Setting up Pure:Dyne Linux to work with SenseStage

SuperCollider host

Some supporting packages are needed before you start:
Apache2 for running an http server, and subversion to check out the latest DataNetwork software.

Open a terminal and type:
sudo apt-get install apache2 subversion.

SuperCollider is installed by default on Pure:Dyne

To set it up to work with the latest version of the DataNetwork classes, do the following:

  • remove the directory ~/share/SuperCollider/quarks (note: the ~ sign refers to the home directory; by default this is /home/lintian/ on Pure:Dyne.
  • Start up SuperCollider (two editor choices) from the Programs/Audio menu
  • Make sure you are connected to the internet for the next two steps, as packages will be downloaded onto your system.
  • Type the code: Quarks.checkoutDirectory, select and execute it (Control-C Control-C in the emacs editor). Wait until output is printed in the postbuffer. The printout should end with At revision ....
  • Type the code: Quarks.install( "SenseWorld DataNetwork" );, select and execute it. This will also install any dependencies. This will take a while! Wait until it is printed in the post buffer that everything is installed. It should be listing a whole bunch of files that are being installed. The printout should end with At revision ....
  • Type the code: Quarks.installed.do{ |it| it.postln }. This will print out a list of installed quarks. These should include:
    • SenseWorld MiniBee
    • SenseWorld DataNetwork
    • SenseWorld
    • Debug
    • NetLib
    • MathLib
    • FileLog
    • Arduino
    • GNUPlot

    If any of these are missing, install them manually, with the code Quarks.install( "nameofquark" ).

  • Now choose “Restart Interpreter” from the SCLang menu (in emacs).
  • Now SuperCollider should be ready to use the DataNetwork host with this line of code: x = SWDataNetwork.new.createHost.
  • With x.makeGui a simple basic GUI is opened from which two other GUIs, one for the datanodes and one for the clients can be opened.

The packages that are installed in this way, contain also all of the latest versions of the clients (except Python), in the folder: ~/share/SuperCollider/quarks/DataNetwork/Help/Clients/.

Python client and interface to the wireless MiniBee network

-apt-get install python
-apt-get install liblo7
-apt-get install curl
(note curl is also needed for the supercollider client and puredata)
- apt-get install python-pycurl

- download pyliblo from http://das.nasophon.de/pyliblo/
- in the filebrowser rightclick on downloaded link and choose “Extract here”
- cd ~/Downloads/pyliblo… (use tab-autocompletion)
- ./setup.py build
- ./setup.py install

download pyserial from http://pyserial.sourceforge.net/
- in the filebrowser rightclick on downloaded link and choose “Extract here”
- cd ~/Downloads/pyserial… (use tab-autocompletion)
- ./setup.py install

Download the pydon (python datanetwork) libraries from:

http://www.sensestage.eu/workshop/

PureData client

uninstall PureData (we need PD Extended instead):
- sudo apt-get remove puredata
- download the pd-extended package, either (32bit)

http://downloads.sourceforge.net/pure-data/Pd-0.42.5-extended-ubuntu-karmic-i386.deb

or (64bit)

http://sourceforge.net/projects/pure-data/files/pd-extended/0.42.5/Pd-0.42.5-extended-ubuntu-lucid-amd64.deb/download

- if you use firefox, the download will be in ~/Downloads
- cd ~/Downloads/
- sudo dpkg -i Pd-0.42.5-extended-ubuntu-karmic-i386.deb (or the name of the other package, use tab for autocompletion after you’ve type “Pd”)
- the process will mention there is one other package missing (some library)
- sudo apt-get install name-of-missing-package

Now Pd-Extended should be installed

open it:
- pdextended
- go to the menu “File” and select “Path”
- click “New..”
- add the path ~/share/SuperCollider/quarks/DataNetwork/Help/Clients/ssdn_puredata/
- possibly restart pdextended
- now you can open a helpfile from ~/share/SuperCollider/quarks/DataNetwork/Help/Clients/ssdn_puredata/

Processing client

Processing is included in Pure:Dyne
- in Processing : set the sketchbook folder (default ~/sketchbook/
- add a symlink to ~/sketchbook/libraries to ~/share/SuperCollider/quarks/DataNetwork/Help/Clients/ssdn_processing/:
cd ~/sketchbook/
mkdir libraries
ln -s ~/share/SuperCollider/quarks/DataNetwork/Help/Clients/ssdn_processing/ datanetwork

Comments/Questions

Comments are closed.