Open source Symfonisk WiFi speaker
Software Crossover
To access the individual speaker drivers with the two stereo channels of the Amp2, you need plugins. They do the filtering work for certain frequencies so that the player routes the high frequencies to the tweeter and the low frequencies to the midrange driver.
Again, several alternatives are available. I chose the Linux Audio Developers Plugin API (LADSPA) plugins by Richard Taylor [8]. This project has been around for quite some time, and its easy installation is impressive.
As tinycore loads everything into RAM on boot; the system is built out of different extensions, which are pretty much ZIPs that contain the files for that extension. All loaded extensions are merged into one filesystem in the RAM on which the system is running. Most components are already prepackaged and can be downloaded as an extension; however, for the piCorePlayer used in this project, you have to recompile the plugins. Although quick to accomplish, it requires either a running player or a cross-compile environment. You will find a version that I built myself in the download area for this article [9].
piCorePlayer Setup
Start by downloading the image of the current piCorePlayer and write the image file to an SD card [10] as you would for other Rasp Pi operating systems. To set up the WiFi, create the wpa_supplicant.conf
file on the PCB_BOOT
partition and enter the login information there. As a template, you can take the contents from a wpa_supplicant.conf.sample
file [11].
Now copy the downloaded plugin manually to the memory card. To do this, write the rt-plugins-0.0.6.tcz
and rt-plugins-0.0.6.tcz.md5.txt
files to the PCP_ROOT
partition in the tce/optional/
folder. For the system to load the plugin at boot time, you need to enter its file name (rt-plugins-0.0.6.tcz
) in the tce/onboot.lst
text file (Figure 4). You might have to start the file manager and the editor with administrative rights to do this.
Additionally, you will want to enlarge the PCP_ROOT
partition to use the whole SD card. On Linux this can be easily done with programs such as GParted. Alternatively, you can do this after first launching piCorePlayer, but you will need to copy the required plugins to the SD card first.
First Start
Now remove the SD card from the card reader, insert it into the Raspberry Pi, and switch on the system. After starting the Rasp Pi, piCorePlayer should be accessible over a web interface (Figure 5) by calling up in a web browser the Rasp Pi IP address, which you can discover from the web front end of your WiFi router or with arp-scan
:
$ sudo arp-scan --localnet | grep Raspberry
Now you have to configure various settings. Some of them require you to restart your Rasp Pi, which you should do every time anyway, just to be on the safe side. First, switch to Advanced Mode at the bottom. Then do the following:
- Update the player under Main Page | Full Update
- Update the extensions under Main Page | Update
- Check for possible hotfixes under Main Page | HotFix
Second, go to the Squeezelite Settings tab and set Amp2 as the audio output device, which appears as HiFiBerry DAC+ (and Pro, AMP2). After a restart, flip the Card control switch to disable the Rasp Pi's internal sound card. Now Squeezelite will start up when you boot the system.
Back on the Squeezelite Settings tab, enter the name of the speaker (e.g., Living Room) and the IP address of the Logitech Media Server. Finally, in the Tweaks tab, turn on the ALSA 10 Band Equalizer.
You have now completed the basic configuration and the speaker should work. However, it will still sound a little strange.
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.
News
-
So Long Neofetch and Thanks for the Info
Today is a day that every Linux user who enjoys bragging about their system(s) will mourn, as Neofetch has come to an end.
-
Ubuntu 24.04 Comes with a “Flaw"
If you're thinking you might want to upgrade from your current Ubuntu release to the latest, there's something you might want to consider before doing so.
-
Canonical Releases Ubuntu 24.04
After a brief pause because of the XZ vulnerability, Ubuntu 24.04 is now available for install.
-
Linux Servers Targeted by Akira Ransomware
A group of bad actors who have already extorted $42 million have their sights set on the Linux platform.
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.