Pico-Driven Ultrasound Enables Scaled Acoustic Model Of Home Stereo

There are plenty of ways to get sound into your house: good old fashioned headphones, the Dolby surround setup we all lusted after back in the day, or the 21st century’s ubiquitous soundbar, with its ‘spatial audio’ magic. Which will work in your space? If you were an audio engineer, you’d set up listening area and use a microphone to map the space– but that would be thousands of points and sounds like tedium. [PlasmatronX] had a better idea: use Schlieren imaging to see the sound waves as the travel through the space. Schlieren imaging has trouble with audio frequencies, though, and imaging the entire living room was going to be difficult. So he scaled it all down– including the sound waves, by shifting to ultrasonic frequencies.

He’s using the usual mirror-and-razor Schlieren setup with an 8″ telescope mirror– and if you don’t know what that is, we did a deep dive on this kind of optical flow visualizer a while back. Inside the circular imaging area where that lets him see density changes, he’s set up what he calls a CAT– Computer Acoustic Tomography– array. It’s a rig on a turntable he can set up ultrasonic transducers on, to match the various speaker setups he wants to test, and turn so he can see from all angles what the scaled-down waves are doing. To capture those waves, which aren’t going to be standing still, he adds a stroboscope. All the ultrasound signals are being generated by a Pi Pico, and are scaled 4:1 in the frequency domain– that is, a high 10kHz whine becomes inaudible 40kHz. Those signals are fed through a DIY 8-channel amp into both ultrasonic transducers and larger ‘cat-repellent speakers’ from AliExpress.

The microcontroller is actually a Pico 2W, which is using its “W” to communicate via Bluetooth with a Pi 4. That SBC is running the camera, the stepper for the turntable, and image processing, along with the timing for the audio signals. After that it’s a matter of setting up a scaled down 7.1 surround setup and itty-bity soundbar, and test it on a (stuffed) guinea pig. Obviously you can see a big difference between the steered beams from the tiny soundbar and the true surround, but how that translates to listening pleasure will be at least somewhat subjective.

What’s less subjective is the obvious effect soft furnishings add to the simulation. Now he doesn’t take the time to find a material that will scale the frequency response of a set of curtains, but we’re not sure how much that matters. At 5kHz or 20kHz, they’re going to deaden sound, and you can see that here, and you can see it’s a much bigger deal for the shaped beams of the soundbar than it is for surround sound. In the end, [PlasmatronX] decides to stick to headphones, but the whole video is very much worth watching, so we’ve embeddded it below. If you want to try it yourself he’s put his code on GitHub.

Thanks to [PlasmatronX] for the tip!

Continue reading “Pico-Driven Ultrasound Enables Scaled Acoustic Model Of Home Stereo”

Getting Root On Linux Amplifier Adds New Inputs

We remember when getting Linux on your average desktop computer was a tricky enough endeavor that only those with the most luxurious of graybeards would even attempt it. A “Linux box” in those heady days was more than likely an outdated machine salvaged from the dumpster, side panel forever removed, cranking away in a basement or garage. Fast forward today, and Linux is literally everywhere: from smartphones and luxury cars, to TVs and refrigerators. Ironically it’s still not on most desktop computers, but that’s a discussion for another time.

So when [Michael Nothhard] sent in the fascinating account of how he hacked his Linux-powered Bluesound Powernode N150 amplifier to unlock more inputs, the least surprising element was that there was a “smart amplifier” out there running the free and open source operating system. What piqued our interest was that he was able to bust his way in with relative ease and enable some impressive new capabilities that the manufacturer would probably have rather been kept under wraps.

Configuring the CM6206’s audio settings.

[Michael] explains that the N150 has a USB port on the back side of it, and that officially, it only works with mass storage devices and a handful of approved peripherals such as a Bluetooth dongle. But as he was hoping to connect some more devices to the input-limited amplifier, he wondered if he could get a USB audio adapter recognized by the OS. After using a known exploit to get root access, he started poking around at the underlying Linux system to see what kind of trickery the developers had done.

Based on a fairly common C-Media CM6206 chipset, the StarTech 7.1 USB audio adapter was picked up by the kernel without an issue. But to actually get it working with the amplifier’s stock software, he then needed to add a new <capture> entry to the system’s sovi_info.xml configuration file and make some changes to its default ALSA settings. With the appropriate files modified, the new USB audio input device popped up under the official Bluesound smartphone application.

At the end of the write-up [Michael] notes that you’ll need to jump through a few additional hoops to make sure that an upstream firmware update doesn’t wipe all your hard work. Luckily it sounds like backing up the configuration and returning it to the newly flashed Powernode is easy enough. We’ve certainly seen more elaborate methods of gaining control of one’s sound system over the years.

ESP8266 Unlocks Hidden Features In Sound Bar

It’s no secret that the hardware devices we buy are often more capable than their manufacturer leads on. Features hidden behind firmware locks are a common trick, as it allows companies to sell the same piece of gear as a different model by turning off certain capabilities. Luckily for us, these types of arbitrary limitations are often easy to circumvent.

As a perfect example, [Acuario] recently discovered that the LG SJ2 sound bar has quite a few features that aren’t advertised on the box. Whether it’s due to greed or just laziness, it turns out LG isn’t using many of the capabilities offered by the ESMT AD83586B IC inside the amplifier. The chip gets its configuration via I2C, so thanks to the addition of an ESP8266, the expanded capabilities can now be easily enabled through a web interface.

[Acuario] has already found out how to turn on things like simulated surround sound, or per-channel volume controls; all functions which aren’t even exposed through the normal controls on the sound bar. But it goes deeper than that. The LG SJ2 is a 2.1 channel system, with a wireless speaker providing the right and left channels. But the AD83586B inside the subwoofer is actually capable of driving two locally connected speakers, though you obviously need to do a little rewiring.

There are still even more capabilities to unlock, though [Acuario] is currently struggling with some incomplete documentation. The datasheet says there’s support for user-defined equalizer settings, but no examples are given for how to actually do it. If anyone’s got a particular affinity for these sort of amplifier chips, now could be your time to shine.

For hackers, there’s perhaps no better example of feature-locked products than Rigol’s line of oscilloscopes. From the 2000 series of scopes in 2013 up to their higher-end MSO5000 just last year, there’s a long history of unlocking hidden features on these popular tools.

This MDF Sound Bar Sounds Great

Everyone should build a speaker cabinet at least once in their life, if only so they can realize how much thought goes into building a simple box. [John] of ibuildit.ca wanted a sound bar for his home theater setup, and that means building a sound bar. The result is beautiful, and a demonstration of how much you can do with just a router and a table saw.

[John] built this sound bar almost entirely out of MDF, which isn’t the best material but it works well enough for a speaker cab that’s meant to be mounted to a wall. The sides were constructed first, with a rabbet holding the front and back on. Both the woofer and tweeter are inset into the front, and a standard piece of plumbing pipe serves as the bass port. Slap a round over bit into the router and do some light sanding, and everything looks great with a coat of black paint.

As with any speaker enclosure, the design is effectively parametric, designed entirely around the drivers being used. In this case, [John] is using a spreadsheet named ‘Unibox’ that gives you all the formulas and graphs for designing a speaker enclosure.

With the box built and the speakers installed, the only matter left were a few aesthetic choices. [John] went with a standard black finish with a very nice wooden grille held onto the front with magnets. It’s a design that pops, but the true test of a speaker is how it sounds. That’s a bit hard to convey over the Internet, but [John] included a few sound samples at the end of the build video, available below.

Continue reading “This MDF Sound Bar Sounds Great”