Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).

×
Hardware Hacking Python Build

LegoTechno -- Making Music With Lego Bricks, Python, OpenCV and a Groovebox 5

Posted by Soulskill
from the not-compatible-with-mega-bloks dept.
bauhausinteraction writes "A team from the Bauhaus-University and Native Instruments Developers built and programmed a fully functional interactive Lego Sequencer / Tangible Groove Machine that sends control data to the Maschine drum sequencer to make music. The thing was built within 24 hours as an unofficial weekend collaboration between bauhausinteraction and NI at the MidiHack 2014 in Stockholm. A standard webcam is mounted underneath the baseplate. The image is processed by a Python Script using the OpenCV Library to track the bricks. The tricky bit was to not track the user's hand, but we succeeded at that as well.

The information about brick color, position, and orientation is derived from the image and then converted into OpenSoundControl (OSC) messages. Those are sent over a network connection to a computer running Native Instruments Maschine to play back the sounds. Of course, this would work with other sound generators as well, since the whole thing simply spits out OSC-Messages and MIDI — but hey: if the guys from Native are there, you'd better use their Maschine stuff. Being real Masterbuilders, of course we used only unmodified, standard Lego Parts and no Kragle* for the construction. (*see the Lego Movie for reference.)"

This discussion has been archived. No new comments can be posted.

LegoTechno -- Making Music With Lego Bricks, Python, OpenCV and a Groovebox

Comments Filter:

Real programmers don't write in BASIC. Actually, no programmers write in BASIC after reaching puberty.

Working...