PipeWire, The Newest Audio Kid On The Linux Block

Raise your hand if you remember when PulseAudio was famous for breaking audio on Linux for everyone. For quite a few years, the standard answer for any audio problem on Linux was to uninstall PulseAudio, and just use ALSA. It’s probably the case that a number of distros switched to Pulse before it was quite ready. My experience was that after a couple years of fixing bugs, the experience got to be quite stable and useful. PulseAudio brought some really nice features to Linux, like moving sound streams between devices and dynamically resampling streams as needed.

Continue reading “PipeWire, The Newest Audio Kid On The Linux Block”

DIY USB Microphone Seems Overkill; Is Surprisingly In-Depth

Those of us who have been working from home through video calls for the past year can attest to the rising demand for conferencing gear such as webcams and microphones. Not wanting to spring for a boring off-the-shelf solution, serial hacker [Andy Brown] decided to design his own USB solution from scratch and show us the process from start to finish.

Deciding to go for a full digital design for the circuitry, the peripheral is based off of a MEMS microphone and an STM32 microcontroller doing the heavy lifting between it and a USB connection. [Andy] notes that MEMS microphones are very delicate and you have to design the PCB around the hole where the sound enters, which is why he went with a breakout board which has the component already soldered onto it.

As for the MCU, he reasons that since this is a off-one project which won’t be produced in large numbers, the 180 MHz ARM core shouldn’t be seen as overkill, since it also gives him more than plenty of headroom to do signal processing to make the sound clearer before sending it through to a computer by the USB audio device descriptor.

Once the components are chosen and the board designed, [Andy] goes into detail explaining the firmware he wrote for the STM32 to translate the PCM samples from the microphone’s I²S interface into a format better suited for the computer. He also describes how it then processes the audio, applying a graphic equalizer to reduce noise and then ST’s own Smart Volume Control filter, which works more like a compressor than a simple amplitude multiplication.

Finally, all files for the project, including board gerbers and the STM32 firmware are available at the bottom of his post, and to boot, a video demonstrating the project which you can check here after the break. [Andy]’s choice of microcontroller for this project is no surprise to us, given he’s already made his own development board for the STM32 G0 series. But if this digital microphone project is a bit too modern for you, why not try your hand at building a ribbon microphone instead?

Continue reading “DIY USB Microphone Seems Overkill; Is Surprisingly In-Depth”

Gaming Headset Gets Simple Wireless Charging

Despite the technology itself being widely available and relatively cheap, devices that offer wireless charging as a feature still aren’t as common as many would like. Sure it can’t deliver as much power as something like USB-C, but for low-draw devices that don’t necessarily need to be recharged in a hurry, the convenience is undeniable.

Sick of having to plug it in after each session, [Taylor Burley] decided to take matters into his own hands and add wireless charging capability to his Turtle Beach Recon 200 headset. But ultimately, there’s nothing about this project that couldn’t be adapted to your own particular headset of choice. Or any other device that charges via USB, for that matter.

To keep things simple, [Taylor] used an off-the-shelf wireless charging transmitter and receiver pair. The transmitter is housed in a 3D printed mount that the headset hangs from, and the receiver was simply glued to the top of the headset. The receiver is covered with a thin 3D printed plate, but a couple turns of electrical tape would work just as well if you didn’t want to design a whole new part.

Once everything was in place, he then ran a wire down the side of the headset and tapped into the five volt trace coming from the USB port. So now long as [Taylor] remembers to hang the headset up after he’s done playing, the battery will always be topped off the next time he reaches for it.

Considering how many projects we’ve seen that add wireless charging to consumer devices, it’s honestly kind of surprising that it’s still not a standard feature in 2021. Until manufacturers figure out what they want to do with the technology, it seems like hackers will just have to keep doing it themselves.

Continue reading “Gaming Headset Gets Simple Wireless Charging”

Using Ikea Guts To Add Sonos Compatibility To A Vintage Speaker

We’re in a fortunate position when it comes to audio gear, because advances in amplifier and signal processing technology have delivered us budget devices that produce a sound that’s excellent in comparison to those of a few years ago. That said, a decent quality device is good whichever decade it was manufactured in, and a speaker from the 1960s can be coaxed into life and sound excellent with a modern amplifier. It’s something [Sebastius] has explored, as he picked up an attractive-looking set of Swedish speakers from the 1960s. Wanting to bring them into the 21st century, he’s upgraded them for Sonos compatibility by hacking in the guts of an IKEA Symfonisk bookshelf speaker.

The speakers themselves looked good enough, but on closer examination they proved to bear the scars of many decades. After testing new wiring and drivers they still had a good sound to them. Their passive crossover meant that hooking them up to a single amplifier is as straightforward as it was decades ago, but a Symfonisk has an active crossover and two amplifiers. Fortunately there’s a neat hack by which those two amplifiers can be combined as one, and this is what he’s done with the resulting Symfonisk electronic package mounted on the reverse of the speaker.

The fate of the original speaker’s broken mid-range and tweeter drivers was a common enough one back in the day as speakers were ill-matched to amplifiers. Too small an amp would need turning up in volume to get a good sound resulting in distortion that would burn out the top end drivers, while too much power would result in the bass drivers being overloaded and failing. It’s unclear whether the drivers in a vintage speaker would be well-matched to an amplifier such as the Symfonisk, but we’re guessing they are safe while run at sensible volumes. Perhaps of more interest is whatever on-board DSP a Symfonisk contains, because while vintage speakers were designed for as flat a response as possible, modern compact speakers use DSP to equalise the frequency and phase responses of otherwise not-very-good-sounding enclosures. If the Symfonisk does this then those adjustments will appear as distortion in the sound of a different cabinet, but the question remains whether that distortion will be significant enough to be detectable by ear.

If the Symfonisk catches your attention, we’ve covered a teardown of it in the past.

Otters Deliver A High Power Stationary Audio Experience

Our favorite raft of otters is back at it again with another display of open source audio prowess as they bring us the OtterCastAmp, the newest member of the OtterCast family of open source audio multitools. If you looked at the previous entry in the series – the OtterCastAudio – and thought it was nice but lacking in the pixel count or output power departments then this is the device for you.

The Amp is fundamentally a very similar device to the OtterCastAudio. It shares the same Allwinner S3 Cortex-A application processor and runs the same embedded Linux build assembled with Buildroot. In turn it offers the same substantial set of features and audio protocol support. It can be targeted by Snapcast, Spotify Connect or AirPlay if those are your tools of choice, or act as a generic PulseAudio sink for your Linux audio needs. And there’s still a separate line in so it source audio as well.

One look at the chassis and it’s clear that unlike the OtterCastAudio this is not a simple Chromecast Audio replacement. The face of the OtterCastAmp is graced by a luscious 340×800 LCD for all the cover art your listening ear can enjoy. And the raft of connectors in the back (and mountain of inductors on the PCBA) make it clear that this is a fully fledged class D amplifier, driving up to 120W of power across four channels. Though it may drive a theoretical 30W or 60W peak across its various outputs, with a maximum supply power of 100W (via USB-C power delivery, naturally) the true maximum output will be a little lower. Rounding out the feature set is an Ethernet jack and some wonderfully designed copper PCB otters to enjoy inside and out.

As before, it looks like this design is very close to ready for prime time but not quite there yet, so order at your own risk. Full fab files and some hints are linked in the repo mentioned above. If home fabrication is a little much it looks like there might be a small manufacturing run of these devices coming soon.

Clay Pot MP3 Player Whipped Up With The Freedom-K64F

In the streaming era, few of us think about MP3s on a day to day basis anymore. Our music collection is managed by warring executives in streaming companies from far-off lands. However, for [vinod], they’re still useful — seeing as he just built himself an MP3 player that fits in a clay pot.

The build is based on the FRDMK64F development board, packing a powerful 120 MHz ARM chip. This has enough grunt to decode MP3s on the fly, using the Helix MP3 decoder library. The MP3s themselves are streamed off an SD card, using the faster SDIO access method rather than relying on slower SPI. Once decoded, the resulting PCM audio data is shifted out via a DAC using the chip’s DMA hardware, allowing for smooth, glitch-free playback. Output to a big woofer is via a 15 W class D amplifier, with the whole rig powered from a USB powerbank.

With all the electronics piled on the back of a big woofer speaker with lashings of hot glue, the final result is quite imposing; all the more so when installed neatly inside a clay pot acting as a bass reflex enclosure. We’ve seen some concrete cast speakers before, but not nearly enough hacker projects in clay. Please rectify this, and inform us once you’ve done so. Thanks in advance — video after the break!

Continue reading “Clay Pot MP3 Player Whipped Up With The Freedom-K64F”

Mythbusting Tidal’s MQA Format – How Does It Measure Up?

MQA is an audio format that claims to use a unique “origami” algorithm, promising better quality and more musicality than other formats. At times, it’s been claimed to be a lossless format in so many words, and lauded by the streaming services that use it as the ultimate format for high-fidelity music. With the format being closed source and encoders not publicly available, these claims are hard to test. However, [GoldenSound] wasn’t born yesterday, and set out to test MQA by hook or by crook. The results were concerning. (Video, embedded below.)

To actually put the format through its paces, the only easy way available was to publish music to the Tidal streaming service, which uses the format. [GoldenSound] went this route, attempting to get some test files published. This hit a brick wall when the publishing company reported that the MQA software “would not encode the files”. The workaround? [GoldenSound] simply cut some audio test content into the middle of an acoustic track and resubmitted the files, where they were accepted without further complaint.

Testing with the content pulled from Tidal, [GoldenSound] found concerning evidence that the claims made around MQA don’t stack up. Significant amounts of added noise are often found in the MQA-processed files, and files served from Tidal are clearly not lossless. Additionally, MQA’s “blue light” authentication system, designed to guarantee to listeners that they’re listening to a identical-to-studio release, is demonstrated to be misleading at best, if not entirely fake.

Upon writing to MQA to get a response to his findings, [GoldenSound]’s test files were quickly stripped from Tidal. The company eventually disputed some of the findings, which is discussed in the video. The general upshot is that without open, transparent tools being made publicly available to analyse the format’s performance, it’s impossible to verify the company’s claims.

We’ve had fun looking at audio formats before, from the history of MP3 to musing on digital audio at truly ridiculous sample rates. Continue reading “Mythbusting Tidal’s MQA Format – How Does It Measure Up?”