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.
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”
[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.
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”
What happens when you combine a fan with a sub-woofer? Apparently, you get a high-efficiency ultra low hertz (3-5hz) rotary subwoofer!
First thing’s first, believe it or not, these things really do exist. [Chris] got the idea to build his own after seeing the TRW-17, a commercial offering of a rotary subwoofer.
The concept is pretty simple. If you use a giant subwoofer, you can get low frequency response, but it uses an immense amount of power to move a giant speaker coil. So what if you put something on a smaller speaker coil to increase airflow? Like, a fan or something?
Continue reading “Rotary Subwoofer Combines A Speaker Coil W/ a Fan”
The traditional theremin is more or less an audio oscillator with two metal rods. Using proximity sensing, one rod controls the pitch of the oscillator and the other controls the volume. [Teodor Costachiou] apparently asked himself the excellent question: Why does the proximity sensor have to use capacitance? The result is an Arduino-based theremin that uses IR sensors to determine hand position.
[Teodor] used a particular type of Arduino–the Flip and Click–because he wanted to use Click boards for the IR sensors and also to generate sound via an MP3 board based around a VS1053. The trick is that the VS1053 has a realtime MIDI mode, and that’s how this Theremin makes it tones.
Continue reading “The Infrared Theremin”
Who needs the Internet of Things? Not this interactive, sound playback blanket! Instead, hidden within its soft fuzzy exterior, it makes use of a NRF24L01+ module to speak directly with its sound server.
The project was built for a school, and let the students record whatever sounds they think are important into a Raspberry Pi. Then, the students assembled the physical felt blanket, with the sensors sewn inside, and could play back their favorite sounds by clambering all over the floor. It’s a multi-sensory, participatory, DIY extravaganza. We wish we did cool stuff like that in grade school.
What? Your “blankie” doesn’t transmit data to a Pure Data application? Well, [Dan Macnish] is here to help you change that. This well-written entry on Hackady.io describes the setup that he used to make the blanket’s multiple touch sensors send small packets over the air, and provides you with the Pd code to get it all working on GitHub..
We like DIY music controllers a lot, and this simple setup stands to be more useful than just blanket-making. And in this age of everything-over-WiFi, it’s refreshing to see a straight-up 2.4 GHz radio build when that’s all that was necessary.
[Dan]’s complaint that the NRF24 modules could only reach 3m or so strikes us as strange though. Perhaps it’s because of all of the metal in close proximity to the NRF24’s antenna?