Modular Drum Machine Creates Random Rhythms

Don’t worry, the rhythms themselves aren’t random! That would hardly make for a useful drum machine. [kbob]’s creation does have the ability to randomly generate functional rhythms, though, and it’s all done on a breadboard.

The core of this tiny drum machine is two Teensy dev boards. One is an FM synth tuned to sound like drums, and the other is a random rhythm generator with several controls. The algorithms are from Mutable Instruments’ open source Eurorack modules. The entire thing fits on a breadboard with JIGMOD modules for the user interface. The machine runs on lithium batteries in the form of USB cell phone chargers. The battery holders were designed in Fusion 360 and 3D printed.

The function of the drum machine is pretty interesting as well. There are a set of triggers tied to the buttons on the machine. When a button is pressed, the drum machine plays that sound at the appropriate time, ensuring there are no offbeat beats. The potentiometers are polled once every millisecond and the program updates the output as required. There’s also a “grid” of rhythms that are controlled with two other knobs (one to map the X coordinate and the other for the Y) and a “chaos” button which adds an element of randomness to this mapping.

The modular nature of this project would make this a great instrument to add to one’s musical repertoire.It’s easily customizable, and could fit in with any of a number of other synthesizer instruments.

Continue reading “Modular Drum Machine Creates Random Rhythms”

Autonomous Musical Soundscapes from 42 Fans and 7 Lasers

[dmitry] writes in to let us know about a new project that combines lasers with fans and turns the resulting modulation of the light beams into an autonomous soundscape. The piece is called “divider” and is a large, wall-mounted set of rails upon which seven red lasers are mounted on one end with seven matching light sensors mounted on the other end. Interrupting the lasers’ paths are forty-two brushless fans. Four Arduino Megas control the unit.

3Laser beams shining into light sensors don’t do much of anything on their own, but when spinning fan blades interrupt each laser beam it modulates the solid beams and turns the readings of the sensors on the far end into a changing electrical signal which can be played as sound. Light being modulated by fan blades to create sound is the operating principle behind a Fan Synth, which we’ve discussed before as being a kind of siren (or you can go direct to that article’s fan synth demo video to hear what kind of sounds are possible from such a system.)

This project takes this entire concept of a fan synth further by not only increasing the number of lasers and fans, but by tying it all together into an autonomous system. The lasers are interrupted repeatedly and constantly, but never simultaneously. Listen to and watch it in action in the video below.

Continue reading “Autonomous Musical Soundscapes from 42 Fans and 7 Lasers”

Toy Piano Gets Synth Overhaul

The Peanuts cartoon character Schroeder liked to bang out Beethoven a toy piano. Now, thanks to this hack from [Liam Lacey], Schroeder can switch to Skrillex. That’s because [Liam] built a polyphonic synth into a toy piano. It’s an impressive build that retains the look and feel of the piano, right down to a laser-etched top panel with knobs that match the glossy black styling.

The brains of the synthesizer is a Beaglebone Black using the Maximillian synthesis library. To capture the key presses, he used Velostat, a pressure-sensitive material that changes resistance under pressure. This is probably the only toy piano in the world with fully polyphonic velocity and aftertouch. The build also includes MIDI support, with two ports on the back. [Liam]’s build log is full of more details than we can even summarize here.

This beautiful build won [Liam] first place in the Element 14 Music Tech competition, and it is a well-deserved prize for a clean and elegant way to update a vintage piano.

Continue reading “Toy Piano Gets Synth Overhaul”

Hackaday Prize Entry: A Cute Synthesizer

For electronics aficionados, there are few devices cooler than music synthesizers. The first synths were baroque confabulations of opamps and ladder filters. In the 70s and 80s, synths began their inexorable march toward digitization. There were wavetable synths that stored samples on 27-series EPROMs. Synths on a chip, like the MOS 6581 “SID chip”, are still venerated today. For his Hackaday Prize entry, [Tim] is building his own synthesizer from scratch. It isn’t a copy of an old synth, instead it’s a completely modern synthesizer with a classic sound.

[Tim] is a former game developer and has already released a synthesizer of sorts. Rhythm Core Alpha 2 for the Nintendo DSi and 3DS is a fully functional synthesizer, but the limitations of the Nintendo hardware made [Tim] want to build his own synth from scratch.

The specs for the synth are more of a wish list, but already [Tim] has a few design features nailed down. This is a virtual analog synth, where everything is digital and handled by DSP algorithms. It’s polyphonic and MIDI capable, with buttons and dials for almost every parameter. For the few things you can’t do with a knob, [Tim] is including a touch screen display.

[Tim] already has the synthesis model working, and from the videos he’s put together, the whole thing sounds pretty good. The next step is turning a bunch of wires, breadboards, and components into  something that looks like an instrument. We can’t wait to see how this one turns out!

You can check out a few of [Tim]’s synth videos below.

Continue reading “Hackaday Prize Entry: A Cute Synthesizer”

Curiously Delightful Things Done with Lasers and Projectors

Seb Lee-Delisle has built a career around large installations that use powerful lasers and high-end projects to make people happy. It’s a dream job that came to fruition through his multi-discipline skill set, his charismatic energy, and a mindset that drives him to see how he can push the boundaries of what is possible through live interaction.

His talk at the Hackaday | Belgrade conference is about his Laser Light Synth project, but we’re glad he also takes a detour into some of the other installations he’s built. The synth itself involves some very interesting iterative design to end up with a capacitive touch audio keyboard that is lit with addressable LEDs. It controls a laser that projects shapes and images to go along with the music, which sounds great no matter who is at the keyboard thanks to some very creative coding. As the talk unfolds we also hear about his PixelPyros which is essentially a crowd-controlled laser fireworks show.

See his talk below and join us after the break for a few extra details.

Continue reading “Curiously Delightful Things Done with Lasers and Projectors”

NES Light Gun Turned (Video) Synthesizer

[Russell Kramer] made our day today. We’re tremendous fans of minimalism in electronics design, dirty noise hacks, and that old NES  light gun. He’s posted up a project that combines all three to make a light-gun controlled, VGA video display that makes bleepy-bloopy noises to boot. Check out the video below!

To appreciate this hack, you really need to read through the project logs in detail. Start with the VGA signal creation, for instance. The easiest way to go these days is to throw a microcontroller at the problem. But because he’s done that to death, [Russell] takes a step back thirty years and generates the sync pulses periodically with a relaxation oscillator and a binary counter IC. The rest of the build follows this aesthetic choice: everything is op amps and CMOS logic. The rainbow effect, for instance, is created from the audio signal through a three-stage, 120-degree phase-shift oscillator sent to the R, G, and B channels. Kudos!

The high-level overview is that the light intensity and position hitting the gun’s sensor is converted into a voltage that drives an audio-frequency oscillator. This audio output is then piped back into the video generator. Watching the video, it’s obvious that pointing the gun at different parts of the screen changes the pitch, but playing a given pitch is nearly impossible on this thing with all the feedback going on. [Russell] added a bit of more control into the system — when the gun’s trigger is pulled, it registers full-brightness regardless of the video input — but even so, we’d be hard-pressed to play “Mary Had a Little Lamb”.

But that’s not the point. The point is awesome, light-gun-waving noisy madness set to a responsive colorful video background. And that’s been achieved in spades!

Continue reading “NES Light Gun Turned (Video) Synthesizer”

A Slew of Open-Source Synthesizers

Hackaday reader [Jan Ostman] has been making microcontroller-based DIY synthesizers for quite a while now. Recently, he’s opened up the source for a lot of them so that you can play along at home. All of these virtual-analog synths and soundmakers can be realized on an Arduino or AVR ATmega328 if you happen to have one lying around.

Extra parts like a keyboard, some pushbuttons, or some potentiometer knobs to twiddle won’t hurt if you’d like to make something more permanent or more obviously playable, like [Jan] does. On the other hand, if you’d just like to get your feet wet, I’ve tweaked his code to be more immediately plug-and-play. The code is straightforward enough that it’s a good learning platform. So let’s take a quick tour through three drum machines and a string synth, each of which you can build on a breadboard in just a few minutes.

To install on an Arduino UNO, fetch the zip file from this GitHub repository, and move each subfolder to your Arduino sketch directory. You’re ready to play along.

Continue reading “A Slew of Open-Source Synthesizers”