Your PC Sound Card As A Sensor Input

The commoditised PC is the most versatile tool many of us will own, and since it has been around for a very long time it is also something that can be found for free or very cheaply if the latest components aren’t a concern. It’s not without limitations though, while it’s designed for expansion it no longer has any ports that can easily be repurposed as GPIOs for reading sensors. A solution for some sensors comes courtesy of [Ruslan Nagimov], who shows us how the PC sound card can become a measurement interface.

The idea is that simple resistive or capacitive sensors can be read through their AC characteristics by sending out a sine wave on one channel of the card and reading the result on the other from a divider circuit. He goes extensively into the code, both for the resistive example and for reactive components, and we can see that it forms a handy extension to the PC capabilities.

We’re sure this technique will find applications for some readers, but it interests us for another platform. Measurement using a mobile phone’s audio jack doesn’t have an inspiring history, but perhaps this could be used as well for mobile sensors.

Know Audio: A Loudspeaker Primer

As we’ve started out on our journey through the world of Hi-Fi audio from a strictly practical and engineering viewpoint without being misled by any audiophile woo, we’ve already taken a look at the most important component in any audio system: the listener’s ear. It’s time to move down the chain to the next link; the loudspeaker.

Sound is pressure waves in the air, and the purpose of a loudspeaker is to move the air to create those waves. There are a variety of “exotic” loudspeaker technologies including piezoelectric and electrostatic designs, here we’ll be considering the garden variety moving-coil speaker. It’s most usually used for the large bass or smaller mid-range drivers in a typical speaker system. Continue reading “Know Audio: A Loudspeaker Primer”

Hi-Fi Combines Best Of 60s And 90s Technology

The 90s were a dark time for audio equipment, literally and figuratively. Essentially the only redeeming quality from the decade of nondescript black plastic boxes was the low cost. Compared to the audio equipment of the 60s, largely produced in high-end enclosures with highly desirable tube amplifiers, the 90s did not offer much when it came to hi-fi stereo sound. However, those cheap black boxes from the 90s turn out to be surprisingly perfect for project enclosures for other amplifier builds, such as this 60s-era tube amp recreation.

This mesh of the best of two distinct decades comes from [Alvenh] and begins by preparing the old enclosure for its new purpose. This means a lot of work fabricating a custom metal face plate for the new amplifier and significantly modifying the remaining case. After the box is complete, the amplifier build began. It uses a tube-based preamp and a solid-state power amplifier since [Alvenh]’s experience suggested that the warm tube sound was generated mostly in the preamp. This means that his design is a hybrid but still preserves the essential qualities of a full tube build.

The build also includes a radio module that has the ability to cover the 2m and 70cm bands popular in ham radio. This module also has been found to have much better audio quality than the standard AM/FM receiver typically used in projects like this. With the radio module added to the custom enclosure, as well as a phono amp and a power supply, [Alvenh] has an excellent audio amplifier in an inexpensive case which preserves the tube sound from the true hi-fi eras of decades past.

Continue reading “Hi-Fi Combines Best Of 60s And 90s Technology”

Know Audio: Start At The Very Beginning

A lot of our projects make noise. It can be something as simple as a microcontroller driving a small speaker or a truly ambitious Hi-Fi project, but common to all of them is the desire to get that sound out in as audible and high-quality a manner as possible. We’ve been known to make fun of the more preposterous side of the Hi-Fi world at times, but behind it all there’s a basis of solid and provable audio engineering that can be brought to bear on almost any project involving sound and electronics. Perhaps it’s time to devote some time to a series exploring the topic, and what better place to start than the ultimate destination for all that sound. Any Hi-Fi is only as good as the ears of the person listening to it, so in out journey through the world of audio that’s where we’ll start. Continue reading “Know Audio: Start At The Very Beginning”

Neural Networks Emulate Any Guitar Pedal For $120

It’s a well-established fact that a guitarist’s acumen can be accurately gauged by the size of their pedal board- the more stompboxes, the better the player. Why have one box that can do everything when you can have many that do just a few things?

Jokes aside, the idea of replacing an entire pedal collection with a single box is nothing new. Your standard, old-school stompbox is an analog affair, using a combination of filters and amplifiers to achieve a certain sound. Some modern multi-effects processors use software models of older pedals to replicate their sound. These digital pedals have been around since the 90s, but none have been quite like the NeuralPi project. Just released by [GuitarML], the NeuralPi takes about $120 of hardware (including — you guessed it — a Raspberry Pi) and transforms it into the perfect pedal.

The key here, of course, is neural networks. The LSTM at the core of NeuralPi can be trained on any pedal you’ve got laying around to accurately reproduce its sound, and it can even do so with incredibly low latency thanks to Elk Audio OS (which even powers Matt Bellamy’s synth guitar, as used in Muse‘s Simulation Theory World Tour). The result of a trained model is a VST3 plugin, a popular format for describing audio effects.

This isn’t the first time we’ve seen some seriously cool stuff from [GuitarML], and it also hearkens back a bit to some sweet pedal simulation in LTSpice we saw last year. We can’t wait to see this project continue to develop — over time, it would be awesome to see a slick UI, or maybe somebody will design a cool enclosure with some knobs and an honest-to-god pedal for user input!

Thanks to [Mish] for the tip!

Continue reading “Neural Networks Emulate Any Guitar Pedal For $120”

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.

Wood Enclosure Lends Warmth To This DIY Ribbon Microphone

We love it when someone takes an idea they’ve seen on Hackaday and runs with it, taking it in a new and different direction. That’s pretty much what we’re here for, after all, and it’s pretty gratifying to see projects like this wooden ribbon microphone come to life.

Now, we’re not completely sure that [Maya Román] was inspired by our coverage of [Frank Olson]’s homage to the RCA Model 44 studio mic rendered in walnut veneer, but we’re going to pat ourselves on the back here anyway. The interesting thing with [Maya]’s build is that she chose completely different materials and design styles for her project. Where [Frank] built as much of his mic from wood as possible, [Maya] was fine with a mixed media approach — CNC-milled plywood for the case and stand, laser-cut acrylic for the ribbon motor frame, and 3D-printed pieces here and there as needed. The woven brass cloth used as a windscreen is a nice detail; while the whole thing looks — and sounds — great, we think it would be even better with a coat of dark stain to contrast against the brass, as well as a nice glossy coat of polyurethane.

The video below shows the whole design and build process, which was a final project for [Maya]’s audio production class this semester at college. Here’s hoping that it got as good a grade as we would give it.

Continue reading “Wood Enclosure Lends Warmth To This DIY Ribbon Microphone”