Making Music With Clojure And Bananas

At this point, the banana piano is a pretty classic hack. The banana becomes a cheap, colorful touch sensor, which looks sort of like a piano key. The Arduino sets the pin as a low-level output, then sets the pin as an input with a pull up resistor. The time it takes for the pin to flip from a 0 to a 1 determines if the sensor is touched.

[Stian] took a new approach to the banana piano by hooking it up to Clojure and Overtone. Clojure is a dialect of Lisp which runs in the Java Virtual Machine. Overtone is a Clojure library that provides tons of utilities for music making.

Overtone acts as a client to the Supercollider synthesis server. Supercollider has been around since 1996, and provides a wide array of sound synthesis functions. Overtone simply tells Supercollider what to do, letting you easily program sounds in Clojure.

The banana piano acts as an input to a Clojure program. This program maps the banana to a musical note, then triggers a note on Overtone’s built-in piano sampler. The result is a nice piano sound played with fruit. Of course, since Overtone and Supercollider are very flexible, this could be used for something much more complex.

After the break, a video of the banana piano playing some “Swedish Jazz.”

Continue reading “Making Music With Clojure And Bananas”

Sand Cast Banana For Scale Is So Metal

If you’ve been on Reddit over the past year, you’ve likely encountered the “banana for scale” meme. [BFG121] felt that the size variation of bananas would not do – there needed to be a standard. He decided to make a metal banana out of re-purposed aluminum. He created his own furnace out of everyday objects including a hair dryer, metal bucket, cement, fire clay, and sand. [BFG121] used a typical banana as the reference for his sand casting mold. After melting the aluminum in his homemade furnace, he poured it into the empty mold, making sure there was an extra hole for the displaced air to escape. The end result is a perfect replica of a banana. [BFG121] made two aluminum bananas, and stamped each one with a serial number. One was given to Imgur headquarters while the other was auctioned on eBay. The winning bid (#39) was $67 USD, a very good ROI.

If you want to learn more about metal casting, check out myfordboy’s channel on YouTube.  You can also see an example of the “banana for scale” in this Hackaday article about a giant spirograph. Our only suggestion to [BFG121] is to send some to ASTM, NIST, and BIPM!

[via Reddit]

Fruit Piano Uses A Different Circuit Than The Makey Makey

screen

[Hasbi Sevinç] is using perishable goods in his electronics project. The orange, tomato, and two apples seen above act as keys for the virtual piano. The concept is the same as the Makey Makey which is often demonstrated as a banana piano. This implementation uses an Arduino to read the sensors and to connect to the computer running the piano program.

You can see there’s a fair amount of circuitry built on the breadboard. Each piece of fruit has its own channel to make it into a touch sensor. The signal produced when your finger contacts the food is amplified by transistors connected in a Darlington pair. That circuit drives the low side of a optoisolator transmitter. The receiving side of it is connected the I/O pin of the Arduino. You can see the schematic as well as a demo clip after the break.

This use of hardware frees up a lot of your microcontroller cycles. That’s because projects like this banana piano use the timers to measure RC decay. [Hasbi’s] setup provides a digital signal that at most only needs to be debounced.

Continue reading “Fruit Piano Uses A Different Circuit Than The Makey Makey”

Toorcamp: Banana Piano

Banana Piano

[Michael] built his own clone of the popular MaKey MaKey Kickstarter project. His implementation uses an ATMega328 and the V-USB stack to connect as a USB Human Interface Device. He was showing it off at Toorcamp wired up to a banana piano, which captured the interest of kids and adults alike.

The digital inputs are pulled to ground with a large (10 Mohm) resistance. The user holds a supply voltage in one hand and completes the circuit by touching a conductive object like a banana, which is connected to a digital input of the ATMega328. Since the internal resistance across your body is typically around 1 Mohm, this pulls the input high and corresponds to a key being pressed on a normal keyboard.

We featured banana pianos before, and it’s a great demo of the interfaces that can be built with this project. This implementation is very simple, and works well if your internal resistance is low enough. [Michael] taught a workshop at Toorcamp to show people how to build their own. He has found that the ‘magic’ of playing music with bananas is a great way to get children interested in electronics.

Bananaphone Lets You Use Fruit And Other Things As Switches

We’re used to [Sprite_TM] rolling out his own hacks hot on the heels of new concepts. Now we’re glad to see that [Jeff Ledger] is doing the same thing here. He was inspired by a Kickstarter project which vows to let you use fruit, clay, and a number of other common (but weird for this use) substances to interface with electronic projects. The mess you see above is the Bananaphone, a synthesizer played with touch sensitive bananas. Think of them as keys on a piano.

The interface works by measuring R/C decay. Each banana is connected to its own input pin on the Propeller board. The capacitance of the bananas rise when you touch them, and this results in a longer R/C decay measurement. Calibrate the target decay period, and you’ve got a reliable capacitive touch sensor which also happens to be delicious. Check out the results which [Jeff] achieves in the video after the break.

Continue reading “Bananaphone Lets You Use Fruit And Other Things As Switches”