{"id":111,"date":"2013-04-25T10:30:00","date_gmt":"2013-04-25T09:30:00","guid":{"rendered":"http:\/\/www.celesteh.com\/blog\/2013\/04\/25\/compiling-supercollider-on-ubuntu\/"},"modified":"2015-06-19T00:23:11","modified_gmt":"2015-06-18T23:23:11","slug":"compiling-supercollider-on-ubuntu","status":"publish","type":"post","link":"https:\/\/www.celesteh.com\/blog\/2013\/04\/25\/compiling-supercollider-on-ubuntu\/","title":{"rendered":"Compiling SuperCollider on Ubuntu Studio 3.04 beta 2 (and otherwise setting up audio stuff)"},"content":{"rendered":"<p>The list of required libraries has changed somewhat from different versions.  This is what I did:<\/p>\n<pre>\nsudo apt-get install git cmake libsndfile1-dev libfftw3-dev  build-essential  libqt4-dev libqtwebkit-dev libasound2-dev libavahi-client-dev libicu-dev libreadline6-dev libxt-dev pkg-config subversion libcwiid1 libjack-jackd2-dev emacs gnome-alsamixer  libbluetooth-dev libcwiid-dev netatalk\n\ngit clone --recursive https:\/\/github.com\/supercollider\/supercollider.git\n\ncd supercollider\n\nmkdir build\n\ncd build\n\ncmake ..\n\nmake\n\n<\/pre>\n<p>If all that worked, then you should install it:<\/p>\n<pre>\nsudo make install\n\nscide\n<\/pre>\n<p>If it starts, you&#8217;re all good!<br \/>\nUsers may note that this version of Ubuntu Studio can compile in Supernova support, so that&#8217;s very exciting.<br \/>\nI&#8217;ve gone to a beta version of Ubuntu Studio because Jack was giving me a bit of trouble on my previous install, so we&#8217;ll see if this sorts it out.<br \/>\nNote in the apt-get part that emacs is extremely optional and netatalk allows me to mount apple mac file systems that are shared via apple talks, something I need to do with my laptop ensemble, but which not everyone will need.  Gone-alsamixer is also optional and is a gnome app. It&#8217;s a gui mixer application which lets you set levels on your sound card. Mine was sending the ins straight to the outs, which is not what I wanted, so I could fix it this way or by writing and running a script. Being lazy, I thought the GUI would be a bit easier.  There&#8217;s also a command line terminal application called alsamixer, if you like that retro 80&#8217;s computing feeling.<br \/>\nIt can also be handy to sometimes kill pulse audio without it respawning over and over.  Fortunately, it&#8217;s possible to do this:<\/p>\n<pre>\nsudo gedit \/etc\/pulse\/client.conf\n<\/pre>\n<p>Add in these two lines:<\/p>\n<pre>\nautospawn = no\ndaemon-binary = \/bin\/true\n<\/pre>\n<p>I still want pulse to start by default when I login, though, so I&#8217;ve set it to start automatically.  I found the application called Startup Applications and clicked add.  For the name, I put pulseaudio. for the command, I put:<\/p>\n<pre>\npulseaudio --start\n<\/pre>\n<p>Then I clicked the add button on that dialog screen and it&#8217;s added.  When I want to kill pulseaudio, I will open a terminal and type:<\/p>\n<pre>\npulseaudio --kill\n<\/pre>\n<p>and when I want it back again, I&#8217;ll type:<\/p>\n<pre>\npulseaudio --start\n<\/pre>\n<p>(I have not yet had a killing and a restarting throw any of my applications into silent confusion, but I&#8217;m sure it will happen at some point.)<br \/>\nThere&#8217;s more on this <\/p>\n","protected":false},"excerpt":{"rendered":"<p>The list of required libraries has changed somewhat from different versions. This is what I did: sudo apt-get install git cmake libsndfile1-dev libfftw3-dev build-essential libqt4-dev libqtwebkit-dev libasound2-dev libavahi-client-dev libicu-dev libreadline6-dev libxt-dev pkg-config subversion libcwiid1 libjack-jackd2-dev emacs gnome-alsamixer libbluetooth-dev libcwiid-dev netatalk git clone &#8211;recursive https:\/\/github.com\/supercollider\/supercollider.git cd supercollider mkdir build cd build cmake .. make If all &hellip; <a href=\"https:\/\/www.celesteh.com\/blog\/2013\/04\/25\/compiling-supercollider-on-ubuntu\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Compiling SuperCollider on Ubuntu Studio 3.04 beta 2 (and otherwise setting up audio stuff)<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":4,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":""},"categories":[1],"tags":[48,39,64,88],"class_list":["post-111","post","type-post","status-publish","format-standard","hentry","category-uncategorised","tag-howto","tag-linux","tag-supercollider","tag-ubuntu"],"_links":{"self":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/comments?post=111"}],"version-history":[{"count":1,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions"}],"predecessor-version":[{"id":2306,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/posts\/111\/revisions\/2306"}],"wp:attachment":[{"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/media?parent=111"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/categories?post=111"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.celesteh.com\/blog\/wp-json\/wp\/v2\/tags?post=111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}