These days I started some work on a new chapter of my audio-visual series called “Interface Fractures”.
Bought a new graphic card – Nvidia-based GTX960.
Also a fullHD multitouch screen is here for exploitation in next couple of years.
SuperCollider for multitouch
Somebody (Scott Cazan) on the supercollider-users list mentioned a fork of SuperCollider with multitouch support (which will be included in main with 3.8 release). I cloned git fork from Cazan’s github, installed build dependencies, couple of twiddles, and compilation went through.
move to a place with source code etc…:
1 |
$ cd ~/src/SuperCollider |
get the code from cazan’s github repository:
1 |
$ git clone https://github.com/scazan/supercollider.git |
Ubuntu Studio 14.04.1 needs some tweaking of libs: since jack2 is installed, specific dev lib for that particular jack needs to be installed otherwise your jack will be uninstalled when we’ll install build-dependencies from official SuperCollider
1 |
$ wajig install libjack-jackd2-dev |
install qt5 libs for new GUI fun
1 |
$ wajig install qt5-default qt5-qmake qttools5-dev qttools5-dev-tools qtdeclarative5-dev libqt5webkit5-dev qtpositioning5-dev libqt5sensors5-dev |
there’s also a missing dependency of udev
1 |
$ wajig install libudev-dev |
install build dependencies
1 |
$ wajig build-deps supercollider |
go to where your SuperCollider sources are,
1 |
$ cd supercollider |
update some missing libs/submodules from repo
1 |
$ git submodule init && git submodule update |
cmake complained about some missing GL libs (either mess by mesa or nvidia), so this was necessary:
1 2 3 4 |
$ sudo mv /usr/lib/x86_64-linux-gnu/libEGL.so /usr/lib/x86_64-linux-gnu/libEGL.so.bak $ sudo ln -s /usr/lib/x86_64-linux-gnu/libEGL.so.1 /usr/lib/x86_64-linux-gnu/libEGL.so $ sudo mv /usr/lib/x86_64-linux-gnu/libGL.so /usr/lib/x86_64-linux-gnu/libGL.so.bak $ sudo ln -s /usr/lib/x86_64-linux-gnu/libGL.so.1 /usr/lib/x86_64-linux-gnu/libGL.so |
make a build folder and enter it
1 2 |
$ mkdir build $ cd build |
configuration
1 |
$ cmake .. |
compilation, -j4 is so that it uses 4 cores
1 |
$ make -j4 |
installation system-wide:
1 |
$ sudo make install |
does it work? run it
1 |
$ scide |
Testing: it does work with multitouch! But not all of the widgets.
Seems like the MT-enabled GUI elements can be seen by looking at changes of the code:
https://github.com/scazan/supercollider/commit/5e4d18cf199e1e8be971e250e7acc787b2d44af6
Not working:
RangeSlider
EnvelopeView
…
Q: how to perform CTRL drag-drop?