Making Music With A Go Board Step Sequencer

Ever wonder what your favorite board game sounds like? Neither did we. Thankfully [Sara Adkins] did, and created a step sequencer called Let’s Go that uses the classic board game Go as input.

In the game Go, two players place black and white tokens on a grid, vying for control of the board. As the game progresses, the configuration of game pieces gets more complex and coincidentally begins to resemble Conway’s Game of Life (or a weird QR Code). Sara saw music in the evolving arrangement of circles and transformed the ancient board game into a modern instrument so others could hear it too.

To an observer, [Sara’s] adaptation looks fairly indistinguishable from the version played in China 2,500 years ago — with the exception of an overhead webcam and nearby laptop, of course. The laptop uses OpenCV to digitize the board layout. It feeds that information via Open Sound Control (OSC) into popular music creation software Max MSP (though an open-source version could probably be implemented in Pure Data), where it’s used to control a step sequencer. Each row on the board represents an instrumental voice (melodic for white pieces, percussive for black ones), and each column corresponds to a beat.

Every new game is a new piece of music that starts out simple and gradually increases in complexity. The music evolves with the board, and adds a new dimension for players to interact with the game. If you want to try it out yourself, [Sara] has the project fully documented on her website, and all of the code is available on GitHub. Now we’re just left wondering what other games sound like — [tinkartank] already answered that question for chess, but what about Settlers of Catan?

Continue reading “Making Music With A Go Board Step Sequencer”

Friday Hack Chat: Graphical Programming Languages With Boian Mitov

There is a long history of Visual or Graphical Programming Languages, and most of them make more sense than the name of Microsoft’s Visual Basic, C#, and Visual Studio IDE. Some people don’t like to code, and for them, graphical programming languages replace semicolons and brackets with easy-to-understand boxes and wires.

This Friday, we’re going to be talking about graphical programming languages with [Boian Mitov]. He’s a software developer, founder of Mitov Software, and the creator of Visuino, a graphical programming language for the embedded domain. Everything from the Arduino to Teensy, ESP8266, ESP32, the chipKIT, and Maple Mini are supported with this IDE. It’s a simple drag-and-drop way of programming microcontrollers that Scratches an itch (see what I did there?) for an easy way to introduce non-programmers to the embedded world and also provides a faster way to build custom applications.

When it comes to graphical programming languages, we can’t find a better Hack Chat guest than [Boian]. He’s the author of the OpenWire dataflow processing technology — another graphical programming language –, the IGDI+ library, VideoLab, SignalLab, AudioLab, PlotLab, InstrumentLab, and author of VCL for Visual C++. He’s a regular contributor to Blaise Pascal Magazine, too.

During this Hack Chat, we’ll be discussing what makes Visual Programming worth it, how and why it works, when it doesn’t and how to develop a graphical programming language. Visuino will be of special interest, And I’m sure someone will work in a, ‘what’s happening with Max/MSP under Ableton’ question. If you have a question for [Boian], here’s a question sheet to guide the discussion.

Here’s How To Take Part:

join-hack-chatOur Hack Chats are live community events on the Hackaday.io Hack Chat group messaging. This Hack Chat will take place at noon Pacific time on Friday, August 11th. Here’s a time and date converter!

Log into Hackaday.io, visit that page, and look for the ‘Join this Project’ Button. Once you’re part of the project, the button will change to ‘Team Messaging’, which takes you directly to the Hack Chat.

You don’t have to wait until Friday; join whenever you want and you can see what the community is talking about.

Ball Run Gets Custom Sound Effects

Building a marble run has long been on my project list, but now I’m going to have to revise that plan. In addition to building an interesting track for the orbs to traverse, [Jack Atherton] added custom sound effects triggered by the marble.

I ran into [Jack] at Stanford University’s Center for Computer Research in Music and Acoustics booth at Maker Faire. That’s a mouthful, so they usually go with the acronym CCRMA. In addition to his project there were numerous others on display and all have a brief write-up for your enjoyment.

[Jack] calls his project Leap the Dips which is the same name as the roller coaster the track was modeled after. This is the first I’ve heard of laying out a rolling ball sculpture track by following an amusement park ride, but it makes a lot of sense since the engineering for keeping the ball rolling has already been done. After bending the heavy gauge wire [Jack] secured it in place with lead-free solder and a blowtorch.

As mentioned, the project didn’t stop there. He added four piezo elements which are monitored by an Arduino board. Each is at a particularly extreme dip in the track which makes it easy to detect the marble rolling past. The USB connection to the computer allows the Arduino to trigger a MaxMSP patch to play back the sound effects.

For the demonstration, Faire goers wear headphones while letting the balls roll, but in the video below [Jack] let me plug in directly to the headphone port on his Macbook. It’s a bit weird, since there no background sound of the Faire during this part, but it was the only way I could get a reasonable recording of the audio. I love the effect, and think it would be really fun packaging this as a standalone using the Teensy Audio library and audio adapter hardware.

Continue reading “Ball Run Gets Custom Sound Effects”

ASCII Art With Pure Data And A Typewriter

[vtol] is quickly becoming our favorite technological artist. Just a few weeks ago he graced us with a Game Boy Camera gun, complete with the classic Game Boy printer. Now, he’s somehow managed to create even lower resolution images with a modified typewriter that produces ASCII art images.

As with everything dealing with typewriters, machine selection is key. [vtol] is using a Brother SX-4000 typewriter for this build, a neat little daisy wheel machine that’s somehow still being made today. The typewriter is controlled by an Arduino Mega that captures an image from a camera, converts it to ASCII art with Pure Data and MAX/MSP, then slowly (and loudly) prints it on a piece of paper one character at a time.

The ASCII art typewriter was recently shown at the 101 Festival where a number of people stood in front of a camera and slowly watched a portrait assemble itself out of individual characters. Check out the video of the exhibit below.

Continue reading “ASCII Art With Pure Data And A Typewriter”

Meet Registroid – Mutant Cash Register Music Sequencer

73 years ago WWII was in full swing, the world’s first computer had not yet crunched atomic bomb physics and department store cash registers had to add up your purchases mechanically. Back then, each pull caused the device to whirl and kerchunk like a slot machine. [David] & [Scott] kidnapped one of those clunkers and forced it to sing a new tune. Thus the Registroid was born, a self-described “mutant vintage cash register that is a playable, interactive electro-house looping machine.” Why did no one else think of this yet?

Inside, the adding gears and tumbling counters were gutted to make room for the electronics, amp and speaker. Keys were converted to Arduino inputs that then feed to MAX/MSP which serves as a basic midi controller. On top, five “antennae” lamps with LEDs serve as a color organ where they pulse with the audio as split up by an MSGEQ7 equalizer chip. Each row of latching keys corresponds to a different instrument: drum beats, baselines, synths, and one-shots.

We have seen similar things done to a Game Boy and typewriter before, but a cash machine is new to us. Perhaps someday someone will flip the trend and type their twitter messages from an antique harpsichord.

The Registroid appears quite popular when on display at local events, including some wonder when a secret code opens the cash drawer.

Continue reading “Meet Registroid – Mutant Cash Register Music Sequencer”

Guitarduino Show And Tell

guitarduino-show-and-tell

[Igor Stolarsky] plays in a band called 3’s & Sevens. We’d say he is the Guitarist but since he’s playing this hacked axe we probably should call him the band’s Guitarduinist. Scroll down and listen to the quick demo clip of what he can do with the hardware add-ons, then check out his video explanation of the hardware.

There are several added inputs attached to the guitar itself. The most obvious is the set of colored buttons which are a shield riding on the Arduino board itself. This attaches to his computer via a USB cable where it is controlling his MaxMSP patches. They’re out of the way and act as something of a sample looper which he can then play along with. But look at the guitar body under his strumming hand and you’ll also see a few grey patches. These, along with one long strip on the back of the neck, are pressure sensors which he actuates while playing. The result is a level of seamless integration we don’t remember seeing before. Now he just needs to move the prototype to a wireless system and he’ll be set.

If you don’t have the skills to shred like [Igor] perhaps an automatic chording device will give you a leg up.

Continue reading “Guitarduino Show And Tell”

IPhone Wielding Guitar Adds Tip Of Your Finger Or Tip The Instrument Control

[Rob Morris] has been hard at working improving his guitar augmentation techniques. Here he’s demonstrating the use of an iPhone to control the effects while he plays. This builds on the work he shared a few years ago where he strapped a Wii remote to the body of his ax.

Just like the Wii remote, the iPhone includes an accelerometer. As you would expect the best parts of the older hack made it into this one, but the inclusion of the touch screen adds a lot more. In the clip after the break he starts by showing off the screen controlling a whammy bar functionality. But we really love the octave offset feature that comes next. This kind of sound manipulation simply can’t be done using a purely physical method (like the whammy bar can). But he’s not done yet. The demo finishes with a Theremin feature. You’ll notice he plucks a string but no sound comes out until he starts touching the screen. This turns it into an entirely different type of instrument.

The only info we have about putting this together is the list of packages he’s using:  TouchOSC, Max/Msp, and GuitarRig

Continue reading “IPhone Wielding Guitar Adds Tip Of Your Finger Or Tip The Instrument Control”