The Hidden Sounds Of The Past

If you stop to think, the number of pre-recorded voices and sounds you might hear on an average day might number in the hundreds. Everything from subway announcements, alerts on your phone, to sound effects at Disneyland is a sound that triggers in response to an event. [Techmoan] came across a device that many of us have interacted with, but likely never seen: a humble Sontranic 9A Announcer.

In their heyday, these sorts of devices formed the backbone of audio feedback. Messages from Father Christmas were recorded and could be reached when calling a number. Sound effects in theme parks that were activated when a ride activated some hidden switch. Anything where the sound effect needed to play on some sort of trigger.

An interesting thing to note is that this is not a reel-to-reel system. The tape is of the standard 1/4″ magnetic variety, perhaps a little thicker for extra durability. It instead sits in the top of the machine; coiling and uncoiling like a two-dimensional lava lamp. Additionally, there’s nothing clever about detecting the beginning or end of the audio loop (as there were four copies of the same recording on this particular tape). In fact, everything about this machine speaks of reliability as the most important design consideration. A reel-to-reel system would just add more points of failure.

After a little bit of diagnosing, [Techmoan] managed to get the device running again and found the message on the tape to be from the phone system, informing the listener that the line is no longer in service. This banal message is perhaps the best testament to the ubiquity of devices like these.

Perhaps in the future, we’ll see an instrument like this magnetic tape-based one created from a similar machine to the one [Techmoan] found.

Continue reading “The Hidden Sounds Of The Past”

Digital Audio For Microcontrollers Doesn’t Come Much Simpler Than A WART

Adding an audio channel to your microcontroller project can mean a pile of extra components and a ton of processing power, as a compressed stream must be retrieved and sent to a dedicated DAC. Or if you are [rdpoor], it can mean hooking up a low-pass filter to the UART that’s present on even the simplest of devices, and constructing a serial data stream that mimics PWM audio.

Sound on your microcontroller, it’s this simple!

WART is a Python script that converts a WAV file into a C formatted byte array that can be baked into your microcontroller code, and for which playback is as simple as streaming it to the UART. The example uses a Teensy and a transistor to drive a small speaker, we’re guessing that better quality might come with using a dedicated low-pass filter rather than relying on the speaker itself, but at least audio doesn’t come any simpler.

The code can be found in a GitHub repository and there’s a few recordings of the output in the files section Hackaday.io page, one is embedded below. It’s better than we might have expected given that the quality won’t be the best at the PWM data rate of even the fastest UART. But even if you won’t be incorporating it into your music system any time soon we can see it being a useful addition for such things as small warning sounds. Meanwhile if persuading serially driven speakers to talk is of interest, there’s always the venerable PC speaker.

Continue reading “Digital Audio For Microcontrollers Doesn’t Come Much Simpler Than A WART”

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”