Free To Good Home: FPGA Supercharged Audio/Video Synthesizer

Audio and video synthesizers have been around for decades, and are pretty much only limited by one’s willingness to spend money on them.  That is, unless you can develop your own FPGA-supercharged synthesizer to really get a leg up on the consumer-grade components. Of course, as [Julian] found out in this four-year project, you tend to pay for it anyway in time spent working on your projects.

[Julian] has actually decided to stop working on the project and open-source it to anyone who wants to continue on. He has already finished the PCB layout on a gargantuan 8-layer print, done all of the routing and parts selection, and really only needed to finish testing it to complete the project. It’s powered by the Xilinx Zynq and is packed with features too: HDMI, DDR3 ram, USB, a handful of sensors, and an Arduino Uno-style header to make interfacing and programming a breeze.

While we’re sympathetic with setting aside a project that we’ve worked so hard on, with most of the work done on this one it should be pretty easy to pick up and adapt for anyone interested in carrying the torch. If you were hoping to wet your whistle with something with fewer PCB layers, though, we’ve seen some interesting (but slightly simpler) video synthesizers made out of other unique hardware as well.

 

Taking A Capacitor Microphone To The Next Level

There was a time when a microphone for most people was a cheap plastic affair that probably came for free with their sound card, but in the age of pandemic video streaming no desktop is complete without a chunky model that looks for all the world as though it escaped from a studio. Few people make their own microphones, so the work of [DJJules] in building very high quality condenser microphones is a particularly fascinating read.

A condenser microphone is a capacitor in which one plate is formed by a conductive diaphragm. A bias voltage is supplied to the diaphragm via a resistor, and since the charge on the plate remains constant as its capacitance changes with the sound vibrations, the voltage on the capacitor changes accordingly. This is picked up by a high impedance buffer and from there fed to a normal microphone input. This Instructable uses a commercial condenser microphone capsule, and takes the reader through generating the bias voltage for it before describing the op-amp buffer circuit.

The most interesting part comes at the end, as we’re shown how the sensitivity pattern of a dual-microphone array can be tuned to be omnidirectional, cardoid, or figure-of-eight. This is probably the norm among audio engineers, but we rarely see this sort of insight in our community. We may never build a microphone of our own, but it’s fascinating to see this one from the ground up in the video below the break.

If you’re confused about the difference between a condenser microphone and the more common electret condenser microphone, we have published a guide to that topic. Continue reading “Taking A Capacitor Microphone To The Next Level”

Audio Out Over A UART With An FTDI USB-To-TRS Cable

What is the easiest way to get audio from a WAV file into a line-level format, ready to be plugged into the amplifier of a HiFi audio set (or portable speaker)? As [Konrad Beckmann] demonstrated on Twitter, all you really need is a UART, a cable and a TRS phono plug. In this case a USB-TTL adapter based around the FTDI FT232R IC: the TTL-232R-3V3-AJ adapter with 12 Mbps USB on one end, and a 3 Mbps UART on the other end.

[Konrad] has made the C-based code available on GitHub. Essentially what happens underneath the hood is that it takes in a PCM-encoded file (e.g. WAV). As a demonstration project, it requires the input PCM files to be a specific sample rate, as listed in the README, which matches the samples to the baud rate of the UART. After this it’s a matter of encoding the audio file, and compiling the uart-sound binary.

The output file is the raw audio data, which is encoded in PDM, or Pulse-Density Modulation. Unlike Pulse-Code Modulation (PCM), this encoding method does not encode the absolute sample value, but uses binary pulses, the density of which corresponds to the signal level. By sending PDM data down the UART’s TX line, the other side will receive these bits. If said receiving device happens to be an audio receiver with an ADC, it will happily receive and play back the PDM signal as audio. As one can hear in the video embedded in the tweet, the end result is pretty good.

 

If we look at at the datasheet for the TTL-232R-3V3-AJ adapter cable, we can see how it is wired up:

When we compare this to the wiring of a standard audio TRS jack, we can see that the grounds match in both wirings, and TX (RX on the receiving device) would match up with the left channel, with the right channel unused. A note of caution here is also required: this is the 3.3V adapter version, and it lists its typical output high voltage as 2.8V, which is within tolerances for line-level inputs. Not all inputs will be equally tolerant of higher voltages, however.

Plugging random TRS-equipped devices into one’s HiFi set, phone or boombox is best done only after ascertaining that no damage is likely to result.  Be safe, and enjoy the music.

IKEA Shelf Becomes Kid Friendly MP3 Player

IKEA’s flatpack furniture has long been popular among makers for its modular nature and low cost, making it ideal for whacky experiments and custom builds. [Claus] is one such person, and built a fun MP3 player for his kids out of a basic LACK shelf.

The music is handled by an NodeMCU ESP8266, working in concert with a VS1053 audio board. The VS1053 is a highly capable chip, capable of decoding a variety of raw and compressed audio formats as well as MIDI, but here it’s used to read SD cards and play MP3s. An RC522 is used to read RFID cards to trigger various tracks, allowing kids to choose a song by simply placing a tag on the shelf. A cheap PAM8302 amplifier and speaker are used to output the music. All the hardware is installed neatly inside the LACK shelf, an easy job thanks to the primarily cardboard construction.

RFID cards are more fun than we normally give them credit for, and we’ve seen a few builds along similar lines to this one. Video of [Claus’s] child rocking out after the break.

Continue reading “IKEA Shelf Becomes Kid Friendly MP3 Player”

SOUL Wants To Process Your Audio

Abstraction is the core of nearly all progress in computing. Unless you are fabricating your own semiconductors and drawing wire, we all create with building blocks ranging from components like CPUs, to operating system functions, to specialized libraries. Just as you wouldn’t want to spend your time deblocking disk records or rendering fonts for output devices, you probably shouldn’t have to think too much about audio data. While there are some powerful audio processing libraries out there, a new embeddable language called SOUL (SOUnd Language) is now in version 1.0 and wants to help you create efficient code for processing audio.

The goal of SOUL is to target a runtime that can run on CPUs, but is better on DSPs. The code aims to be secure and real time with no pointers, garbage collection, and other things that typically interfere with audio processing or security.

Continue reading “SOUL Wants To Process Your Audio”

Extensive Modification Of DSLR Includes High Quality Audio

Modern DSLR cameras are incredible pieces of technology that can take excellent high-quality photos as well as record video and audio. However, as they become jacks of all trades they risk being masters of none, and the audio quality in modern DSLRs certainly reflects that old cliche. To get true high-quality audio while recording with a camera like this Canon 80d, you’ll either need a secondary audio recording device or you’ll need to interface one directly into the camera itself.

This build from [Tony] aka [Carnivore] goes into the inner workings of the camera to add an audio mixer to the camera’s audio input, allowing for multiple audio streams to be recorded at once. First, he removed the plastic around the microphone port and attached a wire to it that extends out of the camera to a 1/8″ plug. While he had the case open he also wired a second shutter, added a record button to a custom location on the front of the camera, and bypassed a switch which prevents the camera from operating if the battery door isn’t closed.

With those modifications in place, he removed the internal flash from the camera before closing the body. A custom 3D printed mount was placed in the vacant space which now houses the audio mixer, a SR-AX100 from Saramonic. This plugs in to the new microphone wire from earlier in the build, allowing the camera to have an expanded capacity for recording audio.

While [Tony] has a fairly unique use case for all of these modifications to an already $1000 camera, getting into the inner workings of DSLRs isn’t something to shy away from if you need something similar done. We’ve even seen modifications to cameras like these to allow for watercooling during video recording.

Continue reading “Extensive Modification Of DSLR Includes High Quality Audio”

Listening To Long Forgotten Voices: An Optical Audio Decoder For 16 Mm Film

Like many of us, [Emily] found herself on COVID-19 lockdown over the summer. To make the most of her time in isolation, she put together an optical audio decoder for old 16 mm film, built using modern components and a bit of 3D printing.

It all started with a broken 16 mm projector that [Emily] got from a friend. After repairing and testing the projector with a roll of film bought at a flea market, she discovered that the film contained an audio track that her projector couldn’t play. The audio track is encoded as a translucent strip with varying width, and when a mask with a narrow slit is placed over the top it modulates the amount of light that can pass through to a light sensor connected to speakers via an amplifier.

[Emily] used a pair of razor blades mounted to a 3D printed bracket to create the mask, and a TI OPT101 light sensor together with a light source to decode the optical signal. She tried to use a photoresistor and a discrete photodiode, but neither had the required sensitivity. She built a frame with adjustable positions for an idler pulley and the optical reader unit, an electronics box on one end for the electronic components, and another pulley attached to a stepper motor to cycle a short loop of the film.

Most of the projects we see involving film these days are for creating digital copies. You can digitize your old 35 mm photo film using a Raspberry Pi, some Lego pieces, and a DSLR camera, or do the same for 8 mm film with a 3D printed rig. Continue reading “Listening To Long Forgotten Voices: An Optical Audio Decoder For 16 Mm Film”