Play MIDI music with your Arduino

Although we can generate a variety of beeps and tones with piezo buzzers, that isn’t the limit to your board’s musical capabilities. John at jarv.org has taken music further and described a way to convert MIDI files into code that can generate very good renditions of the original. The process requires some open-source sequencing software and python code which converts the sequence files for use in the Arduino sketch. Here’s an example of the system at work:

 

Very well done in our opinion. Using this method you can add very credible tunes and sound effects to your projects. So to get started, check out John’s blog here. And we’re on twitter, so follow us for news and product updates as well.

 

When creating projects with external circuitry, such as the audio system described above – consider our range of ProtoShields. From the tiny LeoStick to the Mega range, we offer a complete range for you to work with

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: