Linux in The News – Nov 15, 2021
Linux in The News – Nov 15, 2021

Linux in The News – Nov 15, 2021

Official Raspberry Pi OS Is Now Based on Debian GNU/Linux 11 “Bullseye”

linux9to5 – Nov 8, 2021

The official Raspberry Pi OS (formerly Raspbian) has been updated and it’s now based on the Debian GNU/Linux 11 “Bullseye” operating system series.

The latest Raspberry Pi OS release, dated October 30th, 2021, is the first to switch bases from the old-stable Debian GNU/Linux 10 “Buster” to the Debian GNU/Linux 11 “Bullseye” operating system series, and it uses the Linux 5.10.63 LTS kernel by default.

But the Debian Bullseye rebase is just the cherry on top, as the newest Raspberry Pi OS release features all of its desktop components and applications build against the GTK+ 3 open-source application framework for the in-house built PIXEL desktop environment based on LXDE.

These include the LXPanel and all of its plugins, the PCManFM file manager and libfm library, as well as the piwiz first-run startup wizard, pipanel preferences application, rc_gui raspi-config GUI, and LXinput keyboard and mouse settings app.

On top of the GTK+ 3 support, LXPanel got a new Updater plugin that’s capable of detecting and installing software updates on your Raspberry Pi OS, and offers progress and information dialog boxes, as well as icon handling code common to all plugins instead of in individual plugins. Moreover, the PCManFM file manager now features simplified view options for lists or icons, with separate menu option for thumbnails, as well as new toolbar icons.

In addition, the PiXflat GTK+3 theme has been updated with numerous changes to support the aforementioned apps, toolbar icon size setting was added for GTK+ 3, along with a new setting for indent for frame labels in custom style and the ability to request client-side decoration (CSD) on windows. Also, the Appearance Settings application now supports GTK+3 and Mutter.

Talking about Mutter, the window and composite manager is now used by default instead of Openbox on Raspberry Pi models with 2GB RAM or more. As expected, Mutter’s behavior and appearance has been customized to match that of Openbox, and users also get additional keyboard shortcuts, a screen magnifier, and some performance enhancements over Openbox, which is still used on devices with less than 2GB RAM.

Among other noteworthy changes, the new Raspberry Pi OS release featuers KMS as default display driver (with xcompmgr enabled for Openbox), an improved HDMI audio output selection, new default camera subsystem based on libcamera and demo apps, support for Japanese fonts in the startup wizard, as well as much-improved Bluetooth support with updated pairing and connection dialogs.

Also worth mentioning is the fact that there’s now there’s a new 4K version of the official Raspberry Pi wallpaper in Recommended Software, the Bookshelf app now includes the Custom PC magazine, the Chromium web browser has been updated to version 92.0.4515.98, the VLC media player has been updated to version 3.0.16, and various language translations were updates, including Armenian, German, Italian, Korean, and Polish.

Of course, several bugs were fixed across the default apps and desktop components to offer you a more stable and reliable Raspberry Pi OS experience on your tiny single-board computer. Check out the full release notes for more details on these bug fixes, and download Raspberry Pi OS 2021-10-30 from the official website, which you can write on an SD card with the official Raspberry Pi Imager utility.


PulseEffects integrates equalizers and effects into PulseAudio

www.linux-magazine.com

A wildly flashing equalizer once was part of the basic equipment of every decent stereo system. PulseEffects upgrades the PulseAudio server to include these slide controls – and offers even more.

In the ’80s and ’90s, if you wanted to demonstrate that you knew something about music, you had a massive hi-fi rack with individual components from well-known manufacturers in your living room. In the ensemble of (pre)amplifier, cassette deck, CD player, and turntable, the equalizer was of course a component not to be missed, ideally with illuminated and even motorized sliders and an animated spectrum display. And if it flashed with every beat and you could adjust the trebles and basses to your heart’s content, the would-be hi-fi buff was genuinely satisfied.

In the meantime, convenience has triumphed over audiophile inclinations, at least for most music listeners. Squashed into the MP3 format and streamed via Bluetooth on tinny-sounding battery-powered boxes, music playback has finally arrived in the digital age. Even if the pleasure of the analog listening experience and the good old LP still have their fans, you will mostly find music booming from speakers that can do loud, but don’t handle the softer tones as well. Recording companies have also contributed towards the musical uniformity. In the course of the loudness war [1], they turned the volume levels up and up, and overall sound quality suffered.

Sound Converter for PulseAudio

Now computers are usually not attached to stereo systems. The sound tends to come from a speaker set, from the integrated speakers in the case of laptops, or from headsets. Depending on the loudspeaker quality, you can get a tinny sound or something close to hi-fi quality.

It is therefore worthwhile trying to improve the sound a little, coming full circle to the equalizer mentioned earlier. On modern Linux systems that use the PulseAudio server [2], such a sound mixer can be quickly retrofitted.

PulseEffects [3] is a program that offers numerous powerful functions beyond the equalizer. In many distributions you can install the application directly from the package sources (e.g., on Ubuntu from version 19.10 or Debian 11). The package is usually named pulseeffects.

Since the program is still quite young, it is usually only found in the latest releases of the distributions. For older systems, the developers offer additional package sources or a Flatpak that can be installed with a mouse click after the system has been configured. Listing 1 shows the commands for installing PulseEffects on Ubuntu 18.04 to 19.04. We used Arch Linux and Manjaro with a Gnome desktop for our lab.

Listing 1

Installing PulseEffects on Ubuntu 18.04-19.04

$ sudo add-apt-repository ppa:mikhailnov/pulseeffects -y
$ sudo apt update
$ sudo apt install pulseeffects --install-recommends

PulseEffects starts with a clearly arranged user interface. In the left column, the program groups the individual effects. The first entry, Applications, only shows the programs that are currently playing sound.

Otherwise, to the right, you will find the settings for the currently selected effect. Above it, PulseEffects displays an animated spectrum with the sound output’s frequency response. If necessary, spectrum’s animation can be deactivated or colored using the Spectrum tab in the settings.

In the window bar, PulseEffects switches between the filters for playback or recording and displays details about PulseAudio and the modules loaded from the sound server. It also lets you generate test signals, such as sine waves or noise for input and output.

The individual filters can be switched on and off via sliders in the detail view. A check mark in front of the up and down arrows indicates the status. You can use the arrows to sort the order in which PulseEffects applies the filters.

More than Just an Equalizer

In the effects collection, you will find the classic Equalizer towards the end. You can use the slider to emphasize or reduce the frequency range from 30Hz to 15kHz. You load the filter settings with the tool icon below the on/off switch. If required, you can load Presets, such as Classic, Club, or Dance, provided by the GStreamer framework (Figure 1).

Once you have found the optimal settings, save the configuration by clicking the Presets button in the header. PulseEffects not only saves the settings of the current filter, but also the complete selection of all activated modules.

In terms of possibilities, PulseEffects goes far beyond the capabilities of a “dumb” equalizer. Of particular importance are the Crystalizer and Convolver filters. The Crystalizer cleans up the effects of the loudness war mentioned earlier.

The mix preferred by many music producers cuts off peaks and smooths the dynamics of a piece of music. This makes the drums of a rock song, for example, sound dull and boring. The Matt Mayfield Music channel on YouTube explains the effects very clearly and audibly [4] using an example.

The Crystalizer tries to iron out this bad habit by increasing the dynamic range [5] of the input signal. The name of this PulseEffects module comes from hardware originally developed by sound card manufacturer Creative Labs for the Sound Blaster X-Fi [6]. If you activate the effect, it immediately has a positive impact on the sound (Figure 2).

The Convolver module (Figure 3) lets you modify the sound via convolution reverb [7] as if you were standing in a concert hall or the nave of a church. Many classic equalizers offer similar functions and provide predefined filters with names like “church,” “concert,” or “stadium.”

To achieve this with PulseEffects, activate the Convolver and load an impulse response file [8]. A selection of such files can be found, for example, in the Open Acoustic Impulse Response (OpenAIR) library [9], and in other open source projects such as the audio player foobar2000 [10].

The impulse file is then loaded into the program by clicking on the waveform icon (Select impulse response file) and selecting the Import impulses option. Then enable the desired effect by pressing the Apply button.

Automatic Start

In order for PulseEffects to automatically activate the settings you have changed, save your configuration via the Presets field and enable the Start service on login option in the settings, so that PulseEffects starts automatically when you log in to the system in the future. In this way, the playback quality can be quickly improved. Once set up, PulseEffects does its job unobtrusively in the background. On an Intel Core i7 with the Skylake microarchitecture, the program requires hardly any resources. On average, about one to two percent of the computing power is attributable to the Crystalizer effect.

https://www.linux-magazine.com/Issues/2020/239/PulseEffects/(tagID)/155

Leave a Reply

Your email address will not be published. Required fields are marked *