{"id":4807,"date":"2018-08-16T05:05:06","date_gmt":"2018-08-16T04:05:06","guid":{"rendered":"https:\/\/andyland.info\/wordpress\/?p=4807"},"modified":"2018-09-05T16:24:35","modified_gmt":"2018-09-05T15:24:35","slug":"building-mixxx-2-1-1-on-a-raspberry-pi","status":"publish","type":"post","link":"https:\/\/andyland.info\/wordpress\/building-mixxx-2-1-1-on-a-raspberry-pi\/","title":{"rendered":"Building Mixxx 2.1.1 on a Raspberry Pi"},"content":{"rendered":"<p>For an upcoming holiday with a few of my friends I needed a Midi-controllable software which allows me to play different audio-samples &#8211; some might call this a &#8216;soundboard&#8217;. On top of my wishlist were things like<\/p>\n<p>-open source<\/p>\n<p>-runs on Linux (Raspberry)<\/p>\n<p>-fully customizable<\/p>\n<p>Fortunately, before starting a new project myself I came across <a href=\"http:\/\/mixxx.org\">Mixxx<\/a>. It&#8217;s an open source DJ-Software with a completely customizable user-interface that also\u00a0includes a multi-cell sample-player.\u00a0Mixxx version 1.10 is readily available for various platforms (&#8220;sudo apt-gt install mixxx&#8221; on a Raspberry PI) but has been superseded by version 2.1.1 (as time of writing). There are no precompiled binaries for Mixxx 2.1 on a Raspberry PI yet so the first step was to build a version myself. The necessary steps are documented in Mixxx&#8217;s own Wiki but it&#8217;s partially outdated and not everything is located in one place.<\/p>\n<p><!--more--><\/p>\n<p>Building Mixxx 2.1 on a Raspberry PI is not that complicated but if you are like me and not knee-deep into Mixxx&#8217;s development it might be a little hard to get it all together. This is mostly copy-pasted <a href=\"https:\/\/github.com\/mixxxdj\/mixxx\/blob\/master\/README\">from here<\/a> and a little bit <a href=\"https:\/\/mixxx.org\/wiki\/doku.php\/compiling_on_linux\">from here:<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>First set your Raspberry&#8217;s memory split to 256MB. Then issue the following commands:<\/p>\n<p>&nbsp;<\/p>\n<pre>sudo apt-get update\r\n\r\nsudo apt-get upgrade\r\n\r\n(reboot)\r\n\r\nsudo apt-get remove libtag1-vanilla\r\n\r\nsudo apt-get install g++ git scons libqt4-dev libqt4-sql-sqlite \r\nlibportmidi-dev libopusfile-dev libshout3-dev libtag1-dev libprotobuf-dev protobuf-compiler \r\nlibusb-1.0-0-dev libfftw3-dev libmad0-dev\r\nportaudio19-dev libchromaprint-dev librubberband-dev libsqlite3-dev\r\nlibid3tag0-dev libflac-dev libsndfile1-dev libupower-glib-dev liblilv-dev\r\n\r\nsudo apt-get install libjack-dev libjack0 portaudio19-dev # because of Bug #1464120\r\n\r\nsudo apt-get install libfaad-dev libmp4v2-dev # required for M4A support\r\n\r\nsudo apt-get install libmp3lame-dev \r\nsudo apt-get remove g++ g++-4.7 \r\nsudo apt-get autoremove \r\nsudo apt-get install g++-5 \r\nsudo ln \/usr\/bin\/g++-5 \/usr\/bin\/g++ \r\n\r\n<\/pre>\n<p>For Version 2.1:<\/p>\n<pre class=\"code\">sudo apt-get install libqt4-dev libqt4-sql-sqlite libqt4-opengl-dev libqt4-svg libqt4-xmlpatterns libqt4-sql\r\ngit clone -b 2.1 https:\/\/github.com\/mixxxdj\/mixxx.git<\/pre>\n<p>Or when pulling from the master branch:<\/p>\n<pre class=\"code\">sudo apt-get install qt5-default libqt5opengl5-dev qtscript5-dev libqt5svg5-dev\r\ngit clone https:\/\/github.com\/mixxxdj\/mixxx.git<\/pre>\n<pre>cd mixxx\r\nsudo scons -c &amp;&amp; sudo scons -j 3 opengles=1 staticlibs=1 optimize=native # -j 3 is okay, if you keep your RPI well ventilated\r\n\r\n<\/pre>\n<p>Now wait for ~1.5 hours . If everything went fine you are granted with a shiny new version of a Mixxx executable in your ~\/mixxx &#8211; folder. To install it systemwide run<\/p>\n<pre>sudo scons install<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>For an upcoming holiday with a few of my friends I needed a Midi-controllable software which allows me to play different audio-samples &#8211; some might call this a &#8216;soundboard&#8217;. On top of my wishlist were things like -open source -runs on Linux (Raspberry) -fully customizable Fortunately, before starting a new \u2026 <a class=\"continue-reading-link\" href=\"https:\/\/andyland.info\/wordpress\/building-mixxx-2-1-1-on-a-raspberry-pi\/\"> Continue reading <span class=\"meta-nav\">&rarr; <\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[19,5],"tags":[348,23,120,353,350],"class_list":["post-4807","post","type-post","status-publish","format-standard","hentry","category-musik","category-projekte","tag-mixxx","tag-raspberry","tag-rpi","tag-sampler","tag-soundboard","odd"],"_links":{"self":[{"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/posts\/4807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/comments?post=4807"}],"version-history":[{"count":0,"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/posts\/4807\/revisions"}],"wp:attachment":[{"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/media?parent=4807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/categories?post=4807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/andyland.info\/wordpress\/wp-json\/wp\/v2\/tags?post=4807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}