DIVINER: Occult Synth Firmware For The Cardputer

We see some strange software around these parts, but this is probably the strangest. DIVINER is a firmware for the M5 Cardputer, which is an interesting device in its own right, being essentially a tiny ESP32-S3 dev kit with an even tinier screen, keyboard, some GPIOs, I2C, and an audio jack for output. It is essentially a blank canvas that can do anything if you write the firmware for it.

And that’s what DIVINER does: a little of everything. It’s part standalone synthesizer and sequencer, taking advantage of the I2S audio out, part visualization engine, part WiFi and Bluetooth scanner and monitor (what?), with an LLM interface and an IR blaster thrown in for good measure. [voidrane Splicer] even explores the Channel-State Information to do presence detection, like we’ve seen recently elsewhere. Byte-beat player anyone?

The Hackaday.io page talks about the underlying system layer before it even gets to the applications, and we get the feeling that all of the different apps, called “rites”, were crammed in to exercise it and show off the “blood and ember”, Diablo-esque visual style. But that doesn’t stop us from enjoying the audio engine, demonstrated in the video below, or the awesome graphics.

Do these apps hang together more than visually? Do they need to? Is the sum of the parts so large that you don’t even worry about the whole? We don’t know, but it’s also got a simulator so you can try that out while your Cardputer is shipping.

Continue reading “DIVINER: Occult Synth Firmware For The Cardputer” →

Warm Analog DSP, On The ESP

We love audio, and we love messing around with it. So when [mircemk] wrote in with his latest audio-mangling device, we had to give it a look. It’s a tube-sound processor implemented in an ESP32 with a WM8960 handling the audio side of things. Tubes are expensive, power hungry, and a general pain in the posterior, so there is incentive to DIY it yourself with DSP. The whole setup is mounted in a Tektronix-inspired case that would be at home on the workbench or in the living room.

See? No tubes!

What’s ironic about the tube sound is that it’s essentially a nonlinear distortion of the audio, but it’s a distortion that can sound better than the undistorted signal. (Take that, engineering!) Push-pull transistor amplifiers tend to distort the top and bottom end of the signal similarly, while tubes round off the tops more than the bottoms. [mircemk] lets you tweak this transfer function, and displays it nicely on the screen.

But there’s one more important way that tubes color the sound — they respond slowly to rapidly changing signals — and [mircemk] says he implemented that as well.  We couldn’t find that part of the distortion accounted for in the code, but maybe you can?

Anyway, this is a fantastic audio project, and it just goes to show you how far you can go with some simple parts and clever programming. Indeed, we’ve seen this rig before, with different code that made it a parametric EQ. Once you’ve got the sound turned into numbers, you can math anything at it.

A Bike-Friendly, DIY Action Cam Stereo Microphone

[DJJules] had two problems. Being an avid biker, recording audio on a bike-mounted action camera was less than ideal due to wind. In addition, the built-in microphone on action cameras is also just not as good as a dedicated stereo microphone setup. His solution: The Bike Mike.

The furry ends contain one mic each, mounted with foam.

The Bike Mike solves both problems at once by providing a windproof stereo microphone for [DJJules]’s bike-mounted action camera. It consists of a 3D printed frame and mount for two electret microphones. The mics each get a foam cover, and are surrounded by a cage upon which furry mic covers are applied.

The microphones are wired up to a 3.5 mm audio connector, which is a pretty straightforward soldering job. To make it compatible with the action camera, [DJJules] uses a super slim USB microphone adapter that accepts the 3.5 mm connector on one end, and provides a USB-C plug on the other. One can insert that directly into the camera and have it recognized as an external mic.

If this looks a bit familiar, it’s similar to his earlier design for a DIY external stereo mic for things like DSLR cameras. This one’s adapted for action cameras, integrating a USB adapter for a wider compatibility.

Embedded is a build video followed by sample footage, so give it a watch and listen for yourself.

Continue reading “A Bike-Friendly, DIY Action Cam Stereo Microphone” →

Is This The Smallest Internet Radio?

Internet radios have been a thing in some form for the last quarter century, and the advent of cheap networked microcontrollers has made them easier than ever to build. But just how small can one be made? [Milen] has made one that’s about as small as we’ve seen, and put it up on Instructables.

The hardware recipe is straightforward enough; take a microcontroller, connect it to the internet, and have your internet radio software squirt its output to a DAC. In this case the microcontroller is an ESP32-C£ on a very small dev board, and clipped to that is a custom PCB with a PCM5102A I2S DAC and an amplifier. The whole thing is tiny, small enough in fact that the two connectors are significant in size compared to it.

Whether or not it’s a practical device for listening remains to be seen, but it’s certainly tiny. But the question is, could it be made smaller? Perhaps eschewing the connectors would be an easy win, and in return for a loss in quality the ESP has a built-in DAC that’s not intended for audio but can be used. If you have any bright ideas, we’d be interested to hear them.

We’ve seen plenty of internet radios over the years, and for some reason this cassette-shaped one appeals to us.

Voicebox FX Is A Blueprint For CircuitPython I2S Audio

[Adafruit]’s Voicebox FX gadget is a fun, well-documented project that serves another useful purpose: being a fantastic reference design for audio on CircuitPython, with I2S audio components. Be sure to check it out if you have a project that involves any of that and could use a few pointers, or if you just want to jog a few ideas loose.

I2S (Inter-IC Sound) is a protocol aimed squarely at moving audio data between components as digital signals. Our own [Jenny List] can tell you everything you need to know about I2S. It’s a relatively simple interface that is not at all fussy about actually being used for audio, and that has led to it being put to some unusual uses.

The Voicebox FX uses an I2S microphone, an I2S amplifier, and an RP2350 microcontroller to record and play sound as well as offer a variety of effects controlled by physical inputs. It’s all wrapped up in a slick 3D printed case, and while it’s a fantastic reference design, it looks like a fun toy in its own right.

Continue reading “Voicebox FX Is A Blueprint For CircuitPython I2S Audio” →

Teardown Shows Low-Fi Microphone Is Surprisingly Sophisticated

The Ting FX EP-2350 by Teenage Engineering is a standalone microphone with a few extras, including samples and built-in effect presets that can be modified by the user. It also has a distinctive design, and [Sam Holland] does an in-depth teardown that offers some insights that are worth keeping in one’s back pocket. The large, side-mounted lever in particular is an interesting bit, but more about that in a moment.

Inside the device is a single PCB, which has a cutout in the middle for a pair of AAA cells. A Raspberry Pi 2350 drives the device’s functions, supported by various components which [Sam] identifies, although he mostly looks at everything from the perspective of a mechanical engineer as he critiques the design. It’s a clean-looking, intentionally low-fi design that belies how complex the device really is.

The multi-function, chunky, spring-loaded side lever is of particular interest. It has three sensors: two switches and a potentiometer. One switch detects when the lever is at rest, or depressed by any amount at all. The potentiometer mates with the pivot point of the lever, allowing the device to directly sense how far the lever is pushed. The last switch triggers when the lever is pushed all the way in. Together, it forms an intuitive input that combines powering on (the device wakes up from sleep mode as soon as the lever is pressed) with the ability to adjust effects in proportion with how far the lever is pressed, while also bottoming out with a distinct click that itself acts as an input signal.

One other interesting bit is the light pipes that carry light from multiple indicator LEDs to the outside of the device. A textured surface acts as a diffuser and helps the lit surface look smooth, while a coating of silver paint prevents light bleed and (probably) maximizes light transmission through the plastic. Hot glue makes a pretty good light pipe material but if DIY light pipes end up in your next project, sanding the exit surface and giving the rest a coating of silver paint just might be worth a shot. Continue reading “Teardown Shows Low-Fi Microphone Is Surprisingly Sophisticated” →

A Keyboard With No Keys

For as capable as smartphone hardware is, the software running on them can be especially restrictive and cumbersome. Unlike a single-board computer with GPIO running a standard Linux operating system and some intuitive programming language like Python, smartphones are generally walled gardens where programming major overhead, and if a custom program can be run on them at all the user still has to figure out how to interface hardware with a USB-C port. To skip past all of this, [nicolas.ma] built an audio modem that can send keyboard input to a computer with nothing more than a browser.

The “keyboard” starts off in a browser running on a standard smartphone. A user can input text into the browser, which then gets converted into a series of audible audio pulses that can be sent to the keyboard. The keyboard itself listens to those pulses, decodes them, and then sends the text through to the computer as a standard USB device thanks to an Arduino Micro at the center. Arduino Micros are excellent choices for keyboard controllers because they have a built-in USB chip.

The protocol used here is designed and built by [nicolas.ma] as well. The words allow for variable length, with the device determining message length, and a word-ending scheme that automatically sends the message to memory when it’s detected that the message is finished. There’s also integrity checking and the ability to check on the link’s state. From hardware to software it’s an impressive build, and for anyone wondering what this might be used for [nicolas.ma] has already built a password manager from it.  Continue reading “A Keyboard With No Keys” →