Unattended installation of openFrameworks 0.12.0 on Raspberry PI 4

These are the instructions to get openFrameworks 0.12.0 on a Raspberry Pi 4 with Raspberry Pi OS 64 bit. These commands are based on a completely new system; meaning: your RPI just booted into an x-desktop for the first time from a freshly written sd-card or USB-stick. The process of downloading and building openFrameworks will take ~35 minutes. It’s completely unattended. At the end of the process you will be greeted with a running example-app.

sudo apt-get clean -y
sudo apt-get update
sudo apt-get upgrade -y

URL=https://github.com/openframeworks/openFrameworks/releases/download/0.12.0/of_v0.12.0_linuxaarch64_release.tar.gz
curl -L -o ofx.tar.gz $URL
tar -xf ofx.tar.gz
rm ofx.tar.gz
mv of_* openFrameworks
cd openFrameworks
export OF_ROOT=$(pwd)
cd $OF_ROOT/scripts/linux/debian/
yes y| sudo ./install_dependencies.sh
pkill yes
# add jack for compiling midistuff
cd $OF_ROOT/libs/openFrameworksCompiled/project/makefileCommon/
sed -i 's/PLATFORM_PKG_CONFIG_LIBRARIES += libcurl/PLATFORM_PKG_CONFIG_LIBRARIES += libcurl\nPLATFORM_PKG_CONFIG_LIBRARIES += jack/' config.linux.common.mk
# make Release -C $OF_ROOT/libs/openFrameworksCompiled/project
cd $OF_ROOT/examples/3d/3DPrimitivesExample/
#for ssh:
export DISPLAY=:0
make && make RunRelease

Streaming Box

Eine Folge des aktuellen Corona-Lockdowns ist, dass ich nicht mehr in meiner Stammkneipe Musik auflegen kann. Für mich war das der Impuls, mich mehr mit dem Thema “Streaming” zu beschäftigen und etwas dazu zu organisieren. Das Ergbenis: Seit Beginn des Lockdowns gibt es jeden Samstag einen “Livestream aus’m Trash”. Dazu habe ich alte Bilder vom Laden besorgt und für OBS ein paar Szenen zusammengebaut, mit denen so eine wenig das “Flair” vermittelt werden soll. Natürlich spiele ich im Stream die Musik, die sonst auch im Laden liefe.

Ich bin aber nicht der einzige, der unter normalen Umständen Musik im Trash macht. Wir sind im Kern etwa 7 Leute, die am Wochenende dort auflegen und den Monat unter uns aufteilen. Das Interesse, den eigenen Gig zu streamen ist bei einigen vorhanden, aber nicht alle haben einen IT-Background oder die Zeit/ Lust, sich mit dem Thema ‘Streaming’ zu befassen. Damit die Jungs trotzdem die Chance haben, das zu machen (und damit es insgesamt etwas abwechslungsreicher ist), habe ich eine Out-of-the-Box-Lösung zum Streamen von DJ-Sets gebaut.

Continue reading

Wireless Beamer with a Raspberry PI

Without that Corona-thing it’s about once a month that I am deejaying in my favourite bar in my hometown (Trash in Osnabrück). Few months ago I bought a projector which I am using to do live visuals in parallel. It took me some time to figure it out but I think I found the setup with the best possible balance between transportability and useability.

That’s the Projector in action. It’s not that easy to find a canvas to do projections in that particular venue but everything is possible with a little fantasy and a magic arm with a Manfrotto-Clamp
Continue reading

Building Mixxx 2.2 for Raspberry Pi Zero

A few weeks ago I successfully managed to build Mixxx 2.x on a Raspberry Pi 3. Once I got that done I immediately identified “more than enough” (that is: one) situations where it would be great to have yet a smaller piece of hardware to run Mixxx on (placing a link. Just in case you might not already know what we’re talking about). That’s why I think running Mixxx on a Raspberry PI Zero ist the next logical consequence.

I once (and only once) managed to successfully build the latest branch on a Pi Zero (2.3.0 alpha pre, as of time of this writing) but was not able to reproduce it. Good thing: After some tedious trial-and-error I finally found a way to reliably build Mixxx 2.2 for (and on!) a Raspberry Pi Zero.

Continue reading

Festivalkoffer

Das ist das Teil, welches die gesammelten Werke der letzten Woche zusammenhält. Volumio, Mixxx, Spannungsversorgung, ein Mischpult und einen Midi-Controller. Auspacken, anschließen, läuft.

Hat ein wenig Zeit gebraucht, um die Sachen passig voreinander zu sortieren, aber dann hat alles ganz gut geflutscht.

Continue reading

Sampler-only skin for Mixxx

I wanted to build a sample-player (“soundboard”) and decided to use Mixxx because it has all the necessary features that I was looking for (open source, runs on a Raspberry, highly customizable, …).

My target scenario for this installation is to use it together with a Midi-controller and the official 7″ touchscreen for Raspberry Pi. While Mixxx comes with a set of skins (i.e. user interfaces) with focus on different aspects all of them have in common that they are providing all the functionalities for DJ’ing: 2 or 4 decks for playing tracks, crossfader, mixer-section, library, etc. Many of these things can be hidden from the screen but even then there are still too many things left visible consuming precious real-screen-estate.

While every skin provides the functionality to hide the mixer section or the sampler there is (technically) no way to completely hide the decks via temporary selection. They seem to be seen as an integral part of every Mixxx-skin. That made it necessary to do some serious work on this. Since building a skin from scratch was completely out of reach I took the skin “Deere (64 Samplers)” as a starting point and worked my way up from there.

Continue reading

GrandMA Version 1 Command Line Interface implemented in Java

Due to … massive … request I took the chance and did a major overhaul of my post about the GrandMA remote command line from a few years ago. Back in the days I pulled together a quick ‘n dirty version which somehow worked and caught some interest but never really became more than a proof of concept.

 

tl;dr: This program provides a remote command line to a GrandMA Version 1 lighting desk (console or onPC). Since it’s implemented in Java you can basically run it from every computer that you have at hand ( yes: even a Raspberry PI ). Having a command line proved to be quite handy especially when you are setting up a show from scratch. It is simply faster to issue the command “fader 1.1 thru 5.10 at 0” than to manually set 90 faders to zero (or -god forbid- use a mouse to do this on the onPC-version without a touchscreen).

 

 

I’m a little late on that topic: Meanwhile ( meaning: a few years ago ) the GrandMA Version 2 has been released and it incorporates a native Telnet interface. This somehow makes my version obsolete but … people asked for it and I owe it to myself, I think.

Continue reading