Woodworking, Blinkenlites, And FFT’s Dance To The Music

We all have that one project on our minds that we’d love to build if we could just find the right combination of time, energy, and knowledge to dive right in. For [Jonathan], that project was a sound sculpture that’s finally made it from concept to complete. [Jonathan] describes the sound sculpture as the culmination of a decade of learning, and in a moment you’ll understand why.

The sculpture itself is a beautiful display of woodwork mixed with what appear to be individually addressable LED’s. The varying length of the individual enclosures evokes the idea that the sculpture is somehow involved in the sound production, which is a nice touch.

An Adafruit microphone module feeds detected audio into a PSoC 5 microcontroller. You’d expect that [Jonathan] just used one of the FFT libraries that are available. But you’ll recall that this was the culmination of a decade of learning- why so? Because [Jonathan] went through the process of procuring his own grey hairs by writing his own FFT function. A homebrew FFT function and blinkenlites? What’s not to love!

You may also enjoy this discussion of Sine Waves, Square Waves, and FFT’s with our own Bil Herd.

Continue reading “Woodworking, Blinkenlites, And FFT’s Dance To The Music”

A pair of RP2040-based USB microphones

Mico Is A USB Microphone Based On A Pi Pico

When [Mahesh Venkitachalam] was experimenting with machine learning for audio applications on a Raspberry Pi, he found himself looking for a simple USB microphone. A cheap one was easy to find, but the sound quality and directionality left much to be desired. A large, studio-quality mic would be overkill, so [Mahesh] decided to simply build exactly what was needed: a compact, yet high-quality USB microphone that he called Mico.

The sensing device is a MEMS microphone that outputs a pulse density modulated (PDM) signal. There are chips available to directly interface such a microphone to a USB port, but [Mahesh] found them difficult to work with and therefore settled on something he knew already: the Raspberry Pi Pico platform. Luckily, someone had already figured out how to read out a microphone and present a USB device to a PC, so all that was needed was to put all the bits together into a convenient form factor.

The great thing about the Pico platform is that its main controller chip, the RP2040, is available as a separate component. [Mahesh] designed a sleek little PCB that holds the RP2040 along with the MEMS microphone and a USB connector. The end result looks tidy enough that it might have come out of a mass-produced gizmo. Those don’t usually come with full schematics and source code, but the Mico does: everything is available on its GitHub page for anyone to re-use and improve.

You can judge the sound quality for yourself in the video embedded below. If you like DIY USB microphones, you’re in luck: we’ve featured one based on an STM32 as well as a beautiful recreation of a studio-quality mic.

Continue reading “Mico Is A USB Microphone Based On A Pi Pico”

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”

Kid Friendly MP3 Cube

3D Printed Preschooler Proof MP3 Player Takes A Beat-ing

Prototyping new ideas can be a lot of fun, but putting new projects in a durable enclosure can be a difficulty. This is especially the case when the user of this product is one of the most destructive forces in nature: A toddler! This is the circumstance that [blue blade] found himself in when he wanted to build a durable MP3 player for his grandson, and you can see the results of his work below the break.

The hardware is simple: A 16850 lithium-ion battery powers an MP3 Decoder/Amplifier module that plays MP3s stored on a Micro SD card. A speaker, power switch, and micro USB powered battery charger complete the build. What stands out most is the enclosure. Why?

When children are involved, durability isn’t a matter of product lifetime, it’s also a matter of safety. Items that are easily broken aren’t just useless, they can be dangerous. With this in mind, [blue blade] built a brightly colored enclosure with extra thick walls joined by metal bolts. Externally, a rounded cover bolts over the charger connector and Micro SD card slot. The only other protrusion is a lighted rocker switch for powering the MP3 player on and off.

Continue reading “3D Printed Preschooler Proof MP3 Player Takes A Beat-ing”

Close up shot of a mechanical sequencer for 555 based synthesizers

Kinetic Synth-Kebab Sculpture Plays Punk Sequentially

What’s better than an Atari Punk Console synthesizer? How about four Atari Punk Console synthesizers. And what better way to present them but as brass wire art sculptures. We’d have forgiven [iSax] if he’d stopped at four brass wire synths, but he took things to another level with his kinetic sculpture that does double duty as a mechanical sequencer. Called the Cyclotone – The Mechanical Punk Console Sequencer, it features wood, brass, brushes, and 555 timers. You can see the demonstration in the video below the break.

If you’re not familiar with the Atari Punk Console, it’s a circuit first described as a “Sound Synthesizer” in Forest Mims’ “Engineer’s Notebook: Integrated Circuit Applications” first published in 1980. It utilized two 555 timers in a single chip, the 556. Later dubbed the “Atari Punk Console”, the circuit has stood the test of time and is still quite popular among hackers of all sorts.

[iSax]’s build adds a sequencing element that allows the synths to be played automatically. The synthesizers are skewered 90 degrees from each other on a square dowel, which is turned at a variable RPM by a stepper motor controlled by a knob at the base of the sculpture.

On either side of each synth is a commutator that contacts salvaged rotary tool brushes which provide power through the hexagonal brass supports. Each synth retains its own speaker and controls and has its own segmented numeral displayed with discrete LED’s that light up when each synth is played.

We applaud [iSax] for a well executed and imaginative build that successfully meshes circuit scultpure, kinetic sculpture, classic electronics and even blinkenlights. If you enjoyed this build, you should also go have a look at a free form Atari Punk Console build and another one built into a joystick. If you come across a project of any kind that catches your fancy, be sure you let us know about it via the Tip Line!

Continue reading “Kinetic Synth-Kebab Sculpture Plays Punk Sequentially”

Breadboard containing speech synthesis chip

RPi Python Library Has Retro Chiptunes And Speech Covered

The classic SP0256-AL2 speech chip has featured a few times on these pages, and if you’ve not seen the actual part before, you almost certainly have heard the resulting audio output. The latest Python library from prolific retrocomputing enthusiast [Nick Bild] brings the joy of the old chip to the Raspberry Pi platform, with an added extra trick; support for the venerable AY-3-8910 sound generator as well.

The SP0256-AL2 chip generates vaguely recognisable speech using the allophone system. Allophones are kind of like small chunks of speech audio which when reproduced sequentially, result in intelligible phonemes that form the basis of speech. The chip requires an external device to feed it the allophones at a regular rate, which is the job of his Gi-Pi library.

This speech synthesis technology is based on Linear-predictive coding, which is used to implement a human vocal tract model. This is the same coding method utilized by the first generation of GSM digital mobile phones, implementing a system known as Full-Rate. Both an LPC encoder and an LPC decoder are present on the handset. The LPC encoder takes audio in from the user, breaks it into the tiny constituent parts of speech, and then simply sends a code representing the audio block, but not the actual audio. Obviously there are a few more parameters sent as well to adjust the model at the receiving side. The actual decoding side is therefore not all that dissimilar to what the AY-3-8910 and related devices are doing, except you the user have to create the list of audio blocks up-front and feed the chip at the rate it demands.

Continue reading “RPi Python Library Has Retro Chiptunes And Speech Covered”

Interactive Musical Art Installation Mixes Vintage, Modern, Lasers, And…Bubbles? Bubbles.

Acorn BBC Master. Apple IIe. Ampex 270 Terminal. Vectrex game console. You’d be hard pressed to find a more diverse hardware collection in the average hacker’s lab. When you add seven Raspberry Pi’s, five CRT monitors, an analog oscilloscope and an LED wall to the mix, one starts to wonder at the menagerie of current and retro hardware. What kind of connoisseur would have such a miscellaneous collection? That’s when you spot smoke and fog machines sitting next to an RGB Laser.

Finally, you learn that all of this disparate paraphernalia is networked together. It is then that you realize that you’re not just dealing with a multi-talented hacker- you’re dealing with a meticulous maestro who’s spent lockdown finishing a project he started nearly twenty years ago!

AUVERN comes alive in a show of light and sound whenever someone enters its view.
AUVERN comes alive in a show of light and sound whenever someone enters its view.

The machine is called AUVERN and it’s the product of the creative mind of [Owen]. Taking advantage of advances in technology (and copious amounts of free time), [Owen] laboriously put his collection of older rigs to work.

A Python script uses a Kinect sensor’s input to control a Mac Mini running Digital Audio Workstation software. The operator’s location, poses and movements are used to alter the music, lights, and multimedia experience as a whole. MIDI, Ethernet, and serial communications tie the hardware together through Raspberry Pi’s, vintage MIDI interfaces, and more. Watch the video below the break for the technical explanation, but don’t miss the videos on [Owen]’s website for a mesmerizing demonstration of AUVERN in full swing.

AUVERN makes use of the Vectrex32 upgrade which we have previously covered, and we are unavoidably reminded of another pandemic inspired bubble machine. Don’t forget to send us your hacks, projects, and creations through the Tip Line!

Continue reading “Interactive Musical Art Installation Mixes Vintage, Modern, Lasers, And…Bubbles? Bubbles.”