I built a Spotify-Player based on a Raspberry Pi 3 and Tizonia. It has 5 buttons to switch between different playlists and another button to skip to the next song in a playlist.

I built a Spotify-Player based on a Raspberry Pi 3 and Tizonia. It has 5 buttons to switch between different playlists and another button to skip to the next song in a playlist.
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 readingWithout 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.
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.
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.
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.
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.
This script is quite helpful when you want to run the TCPSClient (beta 3) somewhat completely unattended.
If the program hangs up, fails or anything doesn’t work as expected the CPU load increased drastically. This is taken as an indicator and the TCPSClient will be terminated and restarted.
!/bin/bash PROCESSNAME=TCPSClient.bin CPU_USAGE_THRESHOLD=1010 declare -i MULTIPLIER=10 killall -v $PROCESSNAME sleep 3 while true; do if ps ax | grep -v grep | grep TCPSClient > /dev/null then CPU_TEMP_USAGE=$(top -bn1 |grep TCPSClient | awk -F' ' '{print $9}') CPU_USAGE=$(echo "scale=2;$CPU_TEMP_USAGE*$MULTIPLIER"|bc) CPU_INT=${CPU_USAGE%.*} if [ $CPU_INT -gt $CPU_USAGE_THRESHOLD ] ; then echo KILLING killall -v $PROCESSNAME sleep 3 fi else /home/pi/TCPSClient/TCPSClient.bin & sleep 3 fi done
This is one of the very few Linux scripts I did. Be gentle. Feel free to contact me if there are questions, suggestions, etc.