The Minimin Aims To Be The Simplest Theremin

Hackaday.io user [eagleisinsight] is a high-school hacker whose dreams of becoming a Theremin virtuoso were thwarted by the high cost of a commercial instrument. His response is the Minimin, an affordable Theremin design using a 555 and an ATMega328.

The 555 is configured as an astable oscillator running at about 5MHz and with a loop antenna attached to its timing capacitor. The parasitic capacitance of the musician’s hand against the antenna varies the frequency of the oscillation, as you would expect. In a classic Theremin the signal from the 555 would be mixed with the output from a fixed 5MHz oscillator and the sound would be generated from the difference between the two oscillators, but in [eagleisinsight]’s design the 555 clocks the ATMega328’s timer. The processor can thus read the oscillator frequency and use that value to control a waveform generator.

There is something missing from this Theremin: a second antenna for volume. For now a potentiometer does that job, but [eagleisinsight] is working on a MkII device to correct this omission, along with plans to replace the ATMega with an XMega processor whose DAC can produce a sine wave output and whose USB port can be used to enable the Minimin as a MIDI controller.

As you might expect, we’ve covered numerous Theremins over the years here on Hackaday. You can browse them all, but we’d like to draw your attention to a typical breadboard instrument using a soda can antenna, people using Theremins as Guitar Hero controllers, and Léon Theremin’s terpistone, a full-body instrument.

Circuit Bender Artist Bends Fresnel Lens For Art

Give some mundane, old gear to an artist with a liking for technology, and he can turn it into a mesmerizing piece of art. [dmitry] created “red, an optic-sound electronic object” which uses simple light sources and optical elements to create an audio-visual performance installation. The project was the result of his collaboration with the Prometheus Special Design Bureau in Kazan, Russia. The inspiration for this project was Crystall, a reconstruction of an earlier project dating back to 1966. The idea behind “red” was to recreate the ideas and concepts from the 60’s ~ 80’s using modern solutions and materials.

The main part of the art installation consists of a ruby red crystal glass and a large piece of flexible Fresnel lens, positioned in front of a bright LED light source. The light source, the crystal and the Fresnel lens all move linearly, constantly changing the optical properties of the system. A pair of servos flexes and distorts the Fresnel lens while another one flips the crystal glass. A lot of recycled materials were used for the actuators – CD-ROM drive, an old scanner mechanism and old electric motors. Its got a Raspberry-Pi running Pure Data and Python scripts, with an Arduino connected to the sensors and actuators. The sensors define the position of various mechanical elements in relation to the range of their movement. There’s a couple of big speakers, which means there’s a beefy amplifier thrown in too. The sounds are correlated to the movement of the various elements, the intensity of the light and probably the color. There’s two mechanical paddle levers hanging in there, if you folks want to hazard some guesses on what they do.

Check out some of [dmitry]’s earlier works which we featured. Here’s him Spinning a Pyrite Record for Art, and making Art from Brainwaves, Antifreeze, and Ferrofluid.

Continue reading “Circuit Bender Artist Bends Fresnel Lens For Art”

A Requiem For Meters

Smart Energy GB are the organisation campaigning for the roll-out of smart energy meters in the UK. Publicizing smart meters and making traditional electricity and gas meters look obsolete is part of their mission, and towards the end of last year they came up with a novel idea. “Requiem for Meters”, is a piece of orchestral music performed on instruments made from old gas and electricity meters, and recorded by the Royal Philharmonic Orchestra at the famous Abbey Road Studios in London.

The old meters serve as much as artworks in some of the instruments as they do a function. As far as we can see for example the gas meter violins are electric instruments rather than acoustic, the meter serving only as the physical body of the instrument rather than as an acoustic cavity in the way the body of a traditional violin does. The wind instruments seem to incorporate the cavity of a gas meter in their construction though and the percussive instruments are very much dependent on the properties of the meters themselves, though we’ll leave it to the reader to decide whether the resulting sound is one you’d want regularly on your hi-fi.

The video below the break shows some of the background to the piece, though sadly not as much instrument building detail as we’d like.

Continue reading “A Requiem For Meters”

Bela: Real-Time BeagleBone Audio/Analog Cape

Bela is a cape for the BeagleBone Black that’s aimed at artists and musicians. Actually, the cape is much less than half of the story — the rest is in some clever software and a real-time Linux distribution. But we’re getting ahead of ourselves. Let’s talk hardware first.

First off, the cape has stereo input and output as well as two amplified speaker outs. It can do all of your audio stuff. It also has two banks of analogue inputs and outputs, each capable of handling eight signals. In our opinion, this is where the Bela is cool. In particular, the analog outputs are not Arduino-style “analog outputs” where it’s actually a digital output on which you can do PWM to fake an analog signal. These are eight 16-bit outputs from an AD5668 DAC which means that you can use the voltages directly, without filtering.

Then there’s the real trick. All of these input and output peripherals are hooked up to the BeagleBone’s Programmable Realtime Units (PRUs) — a hardware subsystem that’s independent of the CPU but can work along with it. The PRU is interfaced with the real-time Linux core to give you sub-microsecond response in your application. This is a big deal because a lot of other audio-processing systems have latencies that get into the tens of milliseconds or worse, where it starts to be perceptible as a slight lag by humans.

The downside of this custom analog and audio I/O is that it’s not yet supported by kernel drivers, and you’ll need to use their “Heavy Audio Tools” which compiles Pd programs into C code, which can then drive the PRUs. Of course, you can write directly for the PRUs yourself as well. If you just want to play MP3s, get something you have a bunch of simpler, better options. If you need to do responsive real-time audio installations, Bela is a way to go.

The project is open-source, but we had to do a bunch of digging to find what we were looking for. The hardware is in zip files here, and you’ll find the software here. The demo projects look/sound pretty cool and their Kickstarter is long over-funded, so we’re interested to see what folks make with these.

Automatic Pneumatic Harmonica

A wise man once said “If all you’ve got is a cute desktop compressor and some solenoid valves, everything looks like a robotic harmonica.” Or maybe we’re paraphrasing. Regardless, [Fabien-Chouteau] built a pneumatic, automatic harmonica music machine.

It’s actually an offshoot of his other project, a high-speed candy sorting machine. There, he’s trying to outdo the more common color-sensor-and-servo style contraptions by using computer vision for the color detection and a number of compressed-air jets to blow the candy off of a conveyor belt into the proper bins.

Continue reading “Automatic Pneumatic Harmonica”

EP Composes A New Chiptune Each Time

[Captain Credible] is a chiptune music artist. He wanted to release an EP, but a regular old em-pee-three was too lame for him, so he made a tiny board with a coin cell, an ATtiny85, and a 3.5mm socket on it.

Rather than just writing some code to generate the tones for a pre-composed song, his “Dead Cats” EP generates the music itself. Using the arduino-tiny library, which adds the tone() function to the ATtiny, he has the chip pick its own time signature, key, subdivisions, and tempo. The melody and drum beat is randomly generated into an array. In addition to that, there are some code “one-liners” which insert unique sounds. After that the code just loops through the music.

If you don’t like the song, simply unplug the audio cable and plug it back in. The 3.5mm jack he chose has a built-in micro-switch, so the board is only powered up if someone is listening. If you’d like to see the circuit diagram, purchase the EP, or take a look at the code, all of that is available on his site.

The ATtiny MIDI Plug Synth

MIDI was created over thirty years ago to connect electronic instruments, synths, sequencers, and computers together. Of course, this means MIDI was meant to be used with computers that are now thirty years old, and now even the tiniest microcontrollers have enough processing power to take a MIDI signal and create digital audio. [mitxela]’s polyphonic synth for the ATtiny 2313 does just that, using only two kilobytes of Flash and fitting inside a MIDI jack.

Putting a MIDI synth into a MIDI plug is something we’ve seen a few times before. In fact, [mitxela] did the same thing a few months ago with an ATtiny85, and [Jan Ostman]’s DSP-G1 does the same thing with a tiny ARM chip. Building one of these with an ATtiny2313 is really pushing the envelope, though. With only 2 kB of Flash memory and 128 bytes of RAM, there’s not a lot of space in this chip. Making a polyphonic synth plug is even harder.

The circuit for [mitxela]’s chip is extremely simple, with power and MIDI data provided by a MIDI keyboard, a 20 MHz crystal, and audio output provided eight digital pins summed with a bunch of resistors. Yes, this is only a square wave synth, and the polyphony is limited to eight channels. It works, as the video below spells out.

Is it a good synth? No, not really. By [mitxela]’s own assertion, it’s not a practical solution to anything, the dead bug construction takes an hour to put together, and the synth itself is limited to square waves with some ugly quantization, at that. It is a neat exercise in developing unique audio devices and especially hackey, making it a very cool build. And it doesn’t sound half bad.

Continue reading “The ATtiny MIDI Plug Synth”