Tag Archives: Amanda Ghassaei

Building a Sugarcube MIDI controller



Amanda Ghassaei has designed a portable, Arduino-powered, grid-based MIDI controller capable of running a number of sound-related apps.

The Uno-based (ATmega328 MCU) controller, which recently surfaced on Instructables, is equipped with 16 backlit buttons, used as both inputs and outputs to provide the controller with visual feedback. 

Meanwhile, two potentiometers are tasked with analog control. Depending on the app, the pots are assigned to tempo, MIDI velocity, pitch and scrolling.

“An x/y accelerometer and an x/y gyroscope add some playful, gestural control to the device; most of the apps implement a ‘shake to erase’ control and several respond to tilt in various ways,” Ghassaei explained.

“It boots up into 7 different apps, though it has the potential to boot up into 16 total. This device is primarily a MIDI controller, but I’ve also written an app that allows you to pull the button and analog data into MaxMSP and to control audio.”

According to Amanda, the controller was inspired by both the monome and tenori-on.

“When I was in college, I built a large touchscreen display, based on the Arduinome monome-Arduino clone schematics and code, that worked with all the open source monome applications written in MaxMSP,” she said.

“With this project, I was interested in making a device that was a little more self-contained and relatively cheap to make. This controller does all its app processing itself, it does not rely on a computer to process button presses/analog controls into MIDI.”

Meaning, users can easily plug the Sugarcube directly into a synth or any device that “talks” MIDI.

Interested in learning more about the Sugarcube MIDI controller? You can access the project’s official Instructables page here and the relevant Arduino code on GitHub here. Readers 

may also want to check out previous MIDI-related Bits & Pieces articles here.

Video: Building a multitouch music controller

Amanda Ghassaei – creator of the Glitchbox and Vocal Effect Box – recently published a detailed list of build instructions for an Atmel-based (Duemilanova or Uno), Arduino-powered infrared touchscreen/coffee-table interface.

According to Zoe Romano of the official Arduino blog, Ghassaei has been using the multitouch platform to control various music and graphics applications on her PC.

So, how does the platform work?

“The touchscreen uses infrared (IR) sensing to detect fingers and other objects on the screen, [while] an IR laser at each corner shines IR light across the surface of the screen,” Ghassaei explained.

“When a finger or other object touches the surface, it causes the IR light to scatter in many directions. Some of this light is directed down into the screen, towards an array of 64 IR sensors. By scanning through the sensors, you can determine the x and y position of the touch event(s) and use this to control a variety of apps.”

Interested in learning more about the Arduino-powered multitouch music controller? You can check out the project’s Instructables page here.