Laser Theremin Turns Your Hand Swooshes Into Music

In a world where smartphones have commoditized precision MEMS Sensors, the stage is set to reimagine clusters of these sensors as something totally different. That’s exactly what [chronopoulos] did, taking four proximity sensors and turning them into a custom gesture input sensor for sound generation. The result is Quadrant, a repurposable human-interface device that proves to be well-posed at detecting hand gestures and turning them into music.

At its core, Quadrant is a human interface device built around an STM32F0 and four VL6180X time-of-flight proximity sensors. The idea is to stream the measured distance data over as fast as possible from the device side and then transform it into musical interactions on the PC side. Computing distance takes some time, though, so [chronopoulos] does a pipelined read of the array to stream the data into the PC over USB at a respectable 30 Hz.

With the data collected on the PC side, there’s a spread of interactions that are possible. Want a laser harp? No problem, as [chronopoulos] shows how you can “pluck” the virtual strings. How about an orientation sensor? Simply spread your hand over the array and change the angle. Finally, four sensors will also let you detect sweeping gestures that pass over the array, like the swoosh of your hand from one side to the other. To get a sense of these interactions, jump to the video demos at the 2:15 mark after the break.

If you’re curious to dig into the project’s inner workings, [chronopoulos] has kindly put the firmware, schematics, and layout files on Github with a generous MIT License. He’s even released a companion paper [PDF] that details the math behind detecting these gestures. And finally, if you just want to cut to the chase and make music of your own, you can actually snag this one on Tindie too.

MEMs sensors are living a great second life outside our phones these days, and this project is another testament to the richness they offer for new project ideas. For more MEMs-sensor-based projects, have a look at this self-balancing robot and magic wand.

Continue reading “Laser Theremin Turns Your Hand Swooshes Into Music”

MicroSynth, the business card-sized synthesizer

MicroSynth Mixes All-Analog Fun With A Little Business

While [MicroKits]’ MicroSynth is an all-analog synthesizer that fits on a business card-sized PCB, and he actually does use it to break the ice in business meetings, that’s not really the idea behind this project. Rather, [MicroKits] is keen to get people playing with synths, and what better way than a synth you can build yourself?

There was an ulterior motive behind this project, too: prototyping circuits for a more complete synthesizer. Thus, the design is purposely very simple — no microcontrollers, no logic chips, and not even a 555 to be found. It doesn’t even have buttons; instead, the one-octave keyboard just has interdigitated traces that are bridged by the player’s fingers, forming resistive touchpads. The keyboard interface circuit is clever, too — [MicroKits] uses a pair of op-amps to convert the linear change in resistance across the keyboard to a nearly exponential voltage to drive the synth’s voltage-controlled oscillator (VCO). The video below shows what it can do.

We love projects like these because they show what can be accomplished strictly using analog circuits. We don’t have any problem with other synth designs, mind you — this 555-based dub siren we featured recently was great, too. Continue reading “MicroSynth Mixes All-Analog Fun With A Little Business”

Arduino Orchestra Plays The Planets Suite

We’ve seen a great many Arduino synthesizer projects over the years. We love to see a single Arduino bleeping out some monophonic notes. From there, many hackers catch the bug and the sky is truly the limit. [Kevin] is one such hacker who now has an Arduino orchestra capable of playing all seven movements of Gustav Holst’s Planets Suite.

The performers are not human beings with expensive instruments, but simple microcontrollers running code hewn by [Kevin’s] own fingertips. The full orchestra consists of 11 Arduino Nanos, 6 Arduino Unos, 1 Arduino Pro Mini, 1 Adafruit Feather 32u4, and finally, a Raspberry Pi.

Different synths handle different parts of the performance. There are General MIDI synths on harp and bass, an FM synth handling wind and horn sections, and a bunch of relays and servos serving as the percussive section. The whole orchestra comes together to do a remarkable, yet lo-fi, rendition of the whole orchestral work.

While it’s unlikely to win any classical music awards, it’s a charming recreation of a classical piece and it’s all the more interesting coming from so many disparate parts working together. It’s an entirely different experience than simply listening to a MIDI track playing on a set of headphones.

We’d love to see some kind of hacker convention run a contest for the best hardware orchestra. It could become a kind of demoscene contest all its own. In the meantime, scope one of [Kevin’s] earlier projects on the way to this one – 12 Arduinos singing Star Wars tracks all together. Video after the break.

Continue reading “Arduino Orchestra Plays The Planets Suite”

Dub Siren, a 555-powered synthesizer

Classic Chip Line-Up Powers This Fun Dub Siren Synth

There’s a certain elite set of chips that fall into the “cold, dead hands” category, and they tend to be parts that have proven their worth over decades, not years. Chief among these is the ubiquitous 555 timer chip, which nearly 50 years after its release still finds its way into the strangest places. Add in other silicon stalwarts like the 741 op-amp and the LM386 audio amp, and you’ve got a Hall of Fame lineup for almost any project.

That’s exactly the complement of chips that powers this fun little dub siren. As [lonesoulsurfer] explains, dub sirens started out as actual sirens from police cars and the like that were used as part of musical performances. The ear-splitting versions were eventually replaced with sampled or synthesized siren effects for recording studio and DJ use, which leads us to the current project. The video below starts with a demo, and it’s hard to believe that the diversity of sounds this box produces comes from just a pair of 555s coupled by a 741 buffer. Five pots on the main PCB control the effects, while a second commercial reverb module — modified to support echo effects too — adds depth and presence. I built-in speaker and a nice-looking wood enclosure complete the build, which honestly sounds better than any 555-based synth has a right to.

Interested in more about the chips behind this build? We’ve talked about the 555 and how it came to be, taken a look inside the 741, and gotten a lesson in LM386 loyalty.

Continue reading “Classic Chip Line-Up Powers This Fun Dub Siren Synth”

Automatic guitar tuning robot

Handheld Bot Takes The Tedium Out Of Guitar Tuning

Even with fancy smartphone apps and custom-built tuners, tuning a guitar can be a tedious process, especially for the beginner. Pluck a string, figure out if the note is sharp or flat, tighten or loosen accordingly, repeat. Then do the same thing for all six strings. It’s no wonder some people never get very far with the guitar.

Luckily, technology can come to the rescue in the form of this handy open-source automatic guitar tuner by [Guyrandy Jean-Gilles]. The tuner has a Raspberry Pi Pico inside, with a microphone attached to the ADC. The program running on the Pico listens for the sound of a plucked string and determines whether the note is sharp or flat. The Pico then drives a small DC gear motor in the appropriate direction, which turns the peg the right way to bring the string into tune. The tuner makes ample use of 3D-printed parts, STLs for which are included in the project repo. [Guyrandy] has also made some updates to the project to make the tuner a little easier to use.

While there’s an affordable commercial version of this — upon which [Guyrandy] based his design — we really like the fact that he rolled his own here, and made the design freely accessible to everyone. We also like the idea that guitarists who can’t use tuners requiring visual feedback can use this, too — just like this one.

[via r/raspberry_pi]

A macro keypad making music.

Meet The Marvelous Macro Music Maker

Do you kind of want a macropad, but aren’t sure that you would use it? Hackaday alum [Jeremy Cook] is now making and selling the JC Pro Macro on Tindie, which is exactly what it sounds like — a Pro Micro-based macro keypad with an OLED screen and a rotary encoder. In the video below, [Jeremy] shows how he made it into a music maker by adding a speaker and a small solenoid that does percussion, all while retaining the original macro pad functionality.

[Jeremy]’s original idea for a drum was to have a servo seesawing a chopstick back and forth on the table as one might nervously twiddle a pencil. That didn’t work out so well, so he switched to the solenoid and printed a thing to hold it upright, and we absolutely love it. The drum is controlled with the rotary encoder: push to turn the beat on or off and crank it to change the BPM.

To make it easier to connect up the solenoid and speaker, [Jeremy] had a little I²C helper board fabricated. There’s one SVG connection and another with power and ground swapped in the event it is needed. If you’re interested in the JC Pro Macro, you can pick it up in various forms over on Tindie. Of course, you might want to wait for version 2, which is coming to Kickstarter in October.

There are many ways to make a macro keyboard. Here’s one that also takes gesture input.

Continue reading “Meet The Marvelous Macro Music Maker”

Optical Theremin Makes Eerie Audio With Few Parts

[Fearless Night]’s optical theremin project takes advantage of the kind of highly-integrated parts that are available to the modern hacker and hobbyist in all the right ways. The result is a compact instrument with software that can be modified using the Arduino IDE to take it places the original Theremin design could never go.

The design is based on a ‘Blue Pill’ STM32 MCU development board and two Avago APDS-9960 gesture sensor breakout boards, along with a few other supporting components. Where the original Theremin sensed hand proximity using two antenna-like capacitive sensors to control note frequency and volume, this design relies on two optical sensors to do the same job.

[Fearless Night] provides downloads for the schematic, code, parts list, and even 3D models for the enclosure. PCB files are also included for a convenient assembly, but since the component count is fairly low, a patient hacker should be able to get away with soldering it up by hand without much trouble.

This project creates the audio using the STM32’s Direct Digital Synthesis (DDS) capability and a simple low-pass filter, and has several ways to fine-tune the output. What’s DDS? Our own Elliot Williams explains it in terms of audio output for microcontrollers, and if you’d like a more comprehensive overview, Bil Herd will happily tell you all about it.