Know Audio: It All Depends On The DAC

Our trip through the world of audio technology has taken us step-by step from your ears into a typical home Hi-Fi system. We’ve seen the speakers and the amplifier, now it’s time to take a look at what feeds that amplifier.

Here, we encounter the first digital component in our journey outwards from the ear, the Digital to Analogue Converter, or DAC. This circuit, which you’ll find as an integrated circuit, takes the digital information and turns it into the analogue voltage required by the amplifier.

There are many standards for digital audio, but in this context that used by the CD is most common. CDs sample audio at 44.1 kHz 16 bit, which is to say they express the level as a 16-bit number 44100 times per second for each of the stereo channels. There’s an electrical standard called i2s for communicating this data, consisting of a serial data line, a clock line, and an LRclock line that indicates whether the current data is for the left or the right channel. We covered i2s in detail back in 2019, and should you peer into almost any consumer digital audio product you’ll find it somewhere. Continue reading “Know Audio: It All Depends On The DAC”

A Deep Dive Into The Sound Of An Apple II

A major part of the retrocomputing scene for many of us lies in the world of chiptunes, music created either using original retrocomputing hardware or in the style of those early synthesiser chips. There’s one machine we don’t hear much about among all this though, and that’s the Apple II. Though probably one of the most expandable of all the 8-bit home computers, it lacked a sound channel beyond a speaker hooked up to a memory location port so any complex sound work had to be done via an add-on card. It’s something [Nicole Branagan] has investigated in depth, as she demonstrates first the buzz from the speaker and then what must have been an object of extreme desire back in the day, a Mockingboard sound card.

Her card is not an original but a modern recreation using the same hardware, which is to say a pair of 6522 VIA port chips, each driving an AY-3-8910 audio chip. This is already a familiar device to those who have heard an Amstrad CPC, a later Sinclair Spectrum or, an MSX, and in the Apple it delivers an impressive stereo sound thanks to both channels being present. Interestingly though, it delivers a far smoother output than an MSX playing the same music, probably because of a superior filtering circuit.

She wraps up with a discussion of coding on the Apple for the AY, and how to best accommodate the card on the later Apple IIgs. If the AY chip catches your interest, it’s also easy to drive from a microcontroller.

This Audio Mixer Is A Eurorack

Music making and DJing have both become arts predominantly pursued in a computer, as the mighty USB interface has subsumed audio, MIDI, and even DJ turntable interface controllers. There was a time though when an indispensable part of any aspiring performer’s equipment would have been an analog mixer, a device for buffering and combining multiple analog audio signals into a single whole. A mixer is still a useful device though, and [Sam Kent] has produced a very nice one that takes the form of a set of Eurorack modules made from PCB material. There are two types of modules, the main channel module which you can think of as the master module, and a series of isolator modules that handle the individual inputs.

Mixer preferences are as individual as each user, so for example where we’d expect sliders he’s used rotary potentiometers, and for us placing the master channel on the left-hand side is unfamiliar. But that’s the beauty of a modular design, there’s nothing to stop anyone building one of these to simply configure it as they wish. We notice that for a mixer described as for DJs there’s no RIAA preamp for the turntable fans, but it’s not impossible to fix with an off-board preamp. Otherwise, we like it and have a sudden hankering for it to be 1992 again with a pair of Technics SL1200s and a room full of people.

Designing a mixer, even a simple one, isn’t easy. Our own [Lewin Day] wrote a retrospective of his experiences with one.

Know Audio: Amplifier Nuts And Bolts

As we’ve followed a trail through Hi-Fi and audio systems from the listener’s ear towards the music source, we’ve reached the amplifier. In our previous article we gave a first introduction to distortion and how some amplifier characteristics can influence it, and here we’ll continue along that path and look at the amplifier itself. What types of audio amplifier circuits will you encounter, and what are their relative merits and disadvantages?

A Few Amplifier Basics

Horowitz and Hill's Transistor Man
Horowitz and Hill’s Transistor Man

If you know anything about a transistor, it’s probably that it’s a three terminal device whose output pin forms part of a potential divider whose state is dependent on what is presented to its input pin. The Art of Electronics had it as a cartoon of a man standing inside a bipolar transistor and adjusting a variable resistor between collector and emitter while watching an ammeter on the base.

Properly biased in its conducting range, a transistor can behave as a linear device, in which the potential divider voltage moves in response to the input in a linear relationship, and thus the voltage on the output is an amplified version of the voltage on the output. This is the simplest of transistor amplifiers, and because different types of amplifier are referred to by lettered classes, it’s known as a class A amplifier. Continue reading “Know Audio: Amplifier Nuts And Bolts”

Stereo Recording Made Easy With A 3D-Printed Mount

When making a recording it can be surprisingly difficult to capture a good stereo image. A well-known technique is the ORTF microphone arrangement in which two cardoid microphones sit at 110 degrees to each other and 17cm apart, and thus pick up a readily reproducible stereo separation. It’s something that we’ve been known to do in our student days with a pair of Shure SM58s and a stack of Post Office elastic bands, but [marsairforce] has done a much nicer job with a very neat 3D-printed microphone clip.

Designed in OpenSCAD, the first iteration printed on a resin printer proved to be too brittle for the task, so a second version was printed on an FDM machine. This incorporated significant strengthening, as well as a screw mount for a microphone stand. The result is an extremely useful and cheap addition to any recording set-up, and anyone who has wrestled with achieving a good stereo image will appreciate it. You can see some of what went into it in the video below the break.

If this is your field of interest, you might also wish to look at a binaural microphone.

Continue reading “Stereo Recording Made Easy With A 3D-Printed Mount”

Know Audio: Amplifiers And Distortion

As we’ve traced our no-nonsense path through the world of Hi-Fi audio, we’ve started with the listener, understood the limitations of the human ear, and thence proceeded to the loudspeaker. We’ve learned a bit about speaker cabinets and their design, so it’s time to venture further down the chain to the amplifier that drives those speakers.

The sharp-eyed will be ready to point out that along this path also lies the  speaker cables, but since we’ll be looking at interconnects at a later date we’ll be making the dubious and simplistic assumption for now that the wires between speaker and amplifier are ideal conductors that don’t have a bearing on listening quality. We’ll be looking at amplifiers in enough detail to warrant more than one piece on the subject, so today we’ll start by considering in a slightly abstract way what an amplifier does and where it can fall short in its task. We’ll be introducing probably the most important thing to consider in any audio system, namely distortion.

The job of an audio amplifier is to take an audio signal at its input and present the same signal on its output at a greater amplitude. In the case of a preamplifier it will usually be designed to work with high impedances in the order of 50 kΩ at both input and output, while in a power amplifier designed to drive speakers or headphones it will drive a much lower impedance. Commonly this will be 4 Ω or 8 Ω for loudspeakers, and 32 Ω for headphones. Continue reading “Know Audio: Amplifiers And Distortion”

How To Modify Your Car Stereo For Bluetooth Or Aux-In

If you’re an automotive enthusiast of taste, you can’t stand the idea of fitting a janky aftermarket stereo into your nice, clean ride. Flashy, modern head units can spoil the look of a car’s interior, particularly if the car is a retro, classic, or vintage ride.

Thus, we’re going to look at how to modify your existing stock car stereo to accept an auxiliary cable input or even a Bluetooth module. This way, you can pump in the latest tunes from your smartphone without a fuss, while still maintaining an all-original look on the dash.

Fundamentals

A simple Bluetooth module designed for wiring into car audio systems. There are two wires for 12 V power from the vehicle, and the audio signal is sent out over the RCA plugs. The RCA plugs can be cut off and the module hard wired inside your stereo if you have room. Cutting off the plastic case can help too.

Depending on your choice of audio player, you may prefer a 3.5 mm aux jack, or you might want to go with Bluetooth audio if your smartphone no longer has a headphone port. Whichever way you go, the process of modifying the stereo is largely the same. To achieve your goal, you need to find a way of injecting the audio signal into the head unit’s amplifier stage, while making sure no other audio sources are getting sent there as well.

Whether that audio source is a 3.5 mm jack or a Bluetooth module doesn’t matter. The only difference is, in the latter case, you’ll want to buy a Bluetooth module and hardwire it in to the auxiliary input you create, while also splicing the module into the stereo’s power supply. In the case of a simple headphone jack input, you simply need to wire up an aux cord or 3.5 mm jack somewhere you can get to it, and call it done.

This guide won’t cover every stereo under the sun, of course. Edge cases exist and depending on the minute specifics of how your original car radio works, these exact methods may or may not work for you. However, this guide is intended to get you thinking conceptually about how such mods are done, so that you can investigate the hardware in front of you and make your own decisions about how to integrate an external audio input that suits your usage case. Continue reading “How To Modify Your Car Stereo For Bluetooth Or Aux-In”