Tuesday | 2 December, 2008
Linux-powered clarinet playing robot wins international prize
Entire computer-driven orchestras not too far away, says NICTA's chief technology officer
Andrew Hendry 19/06/2008 12:54:42

A team of experts and students from NICTA and the University of NSW have won first place in a major international technology competition for developing a robotically operated, computer-driven clarinet running Linux.

Developed over the last eight months, the automated clarinetist beat a Dutch developed guitar playing robot to the top gong in the Artemis Orchestra competition, thanks to its playing ability and the high level of complexity in its mouthpiece design.

Head of the project, NICTA's Dr John Judge, described the robot as an embedded computer system connected via specially constructed electronics to actuators - brass plungers with rubber nylon feet - that control the keys and mouthpiece of the clarinet.

The robot is controlled via an off-the-shelf microcontroller board from embedded systems company, Gumstix.

"To get networking we plugged in a daughter board, and another board for the console, so we ended up with a stack of boards. The Gumstix board is an Arm processor running an Open Embedded Linux distribution," Judge told Computerworld.

"There's actually two CPUs controlling the robot: We've got Linux running on the Arm which is doing the processing of the music and setting up the series of events for the robot to react to. Those events get streamed and piped very accurately out to a microcontroller - another Gumstix board called Robostix - which is an ATMEL, ATmega128 AVR microcontroller.

The microcontroller is then told what pressure to exert on the mouthpiece and what keys to depress, and the robot begins to play.

"So it's actuating the mechanism, all the timing is being done on the Linux side. We're actually sending a stream of midi-events to the microcontroller and it just reacts to each event as a node-on/node-off type thing. The software running on the microcontroller is our code written in C," Judge said.

But the real beauty and complexity of the robot lies in the design of its mouthpiece. Successfully controlling the reed and air pressure flowing through the clarinet was achieved through collaboration with students and Professor Joe Wolfe from UNSW's School of Physic's music acoustics laboratory.

"The robot basically has two parts. There's the parts with the actuators to control the fingering - that's all the brass tubes in the photo (click here). And then behind that there is something that looks like it is stuffed with white padding - that is actually an air pressure chamber surrounding the entire mouthpiece of the clarinet acting as a mouth," Judge explains.

An air pump pushes air into the chamber, which is then pressurized around the clarinet's mouthpiece by the microcontroller in order to achieve a pleasant, correct sound.

"To get the clarinet to play a pleasant note at all you need the right air pressure and the right dampening at the same time, and there is only a small range at which the clarinet will produce a pleasant sound, otherwise it will squeak or not sound pleasant at all."

One servo motor that pushes down on a sponge-pad inside the air chamber cylinder applies pressure to the reed at the point the lip would, imitating the embouchure and dampness of a human mouth. A second servo motor serves to mimic the musical style of tonguing in order to articulate between notes.

Computerworld Buyer's Guide - Vendors Matched to this Article
The robotically operated, computer-driven clarinet developed by NICTA and students and staff from UNSW
The robotically operated, computer-driven clarinet developed by NICTA and students and staff from UNSW
Computerworld Buyer's Guide - Vendors Matched to this Article
Additional Resources
Executive Guides
Whitepapers
Zones
Zone logoZones provide focussed content from Computerworld and leading technology partners.
Newsletter Subscription
Sign up for our Computerworld newsletters!
RSS Feeds
Market Place

 

Smart SOA World Tour

Discover how SOA can create smarter outcomes for your business.

Attend and learn:

  • How SOA is helping leading companies to become more agile
  • Where you should be applying SOA processes in your company
  • The top SOA implementation mistakes to avoid

Click here for more information.
Whitepaper

Discover the advantages of an open architecture multi-vendor network solution

View this webcast and discover the drivers for changing network design practices, why many organisations are changing their approach to network architecture and how enterprises should be moving forward with open architecture multi-vendor network solutions. Register now and learn how your business can maximize the business value of the enterprise network.

Enterprise IT Buyer's Guide
Find Technology Vendors Fast
 
Find vendors by name | Find by category
Sponsored Links