Categories
Arduino electronics MIDI software

DIY MIDI Percussion Kit – Part 2

In the first part we built up some percussion sensors using piezo electric elements that can detect a strike and provide feedback on the strength of the blow.

In this part we define a software framework that turns these, and any other similar sensors, into a DIY percussion kit.

Categories
Arduino electronics hardware MIDI

DIY MIDI Percussion Kit – Part 1

Some small projects are interesting because they can enable more than their initial proposition, and the simplicity of producing synthesized sounds using a MIDI interface allows us to experiment with different types of instrument ‘user interfaces’.

In this project I build a flexible software kernel for a DIY MIDI percussion kit that can initially be used switches and piezo sensors but is easily extensible.

Categories
algorithm Arduino hardware software

Playing MIDI files on Arduino – Part 3 Hardware and MD_MIDIFile Library

MIDI_computer_music

Part 1 and part 2 covered Standard MIDI Files and playing music at the right tempo. Once we have a MIDI stream, we need hardware that can play the notes.

In this part we’ll look at how to finally make a sound and how the MD_MIDIFile library supports this in software.

Categories
algorithm Arduino software

Playing MIDI files on Arduino – Part 2 Keeping to the Beat

MIDI_computer_music

Keeping time in music is very important. So it stands to reason that MIDI files include a number of parameters related to keeping time, and the MIDI standard also includes time synchronization messages to ensure that all the instruments keep to the same musical beat.

Part 1 covered the content of Standard MIDI Files. In this part we’ll look at the how to¬† keep the music synchronised to the beat, one of the more complex parts of playing a SMF.

Categories
algorithm Arduino software

Playing MIDI files on Arduino – Part 1 Standard MIDI Files

MIDI_computer_musicMIDI is an industry standard music technology protocol that connects products from many different companies including digital musical instruments, computers, tablets, and smartphones. MIDI is used every day around the world by musicians, DJs, producers, educators, artists, and hobbyists to create, perform, learn, and share music and artistic works.

MIDI music can be stored in standard files. Here’s what they look like and how they work and how we can ‘play’ the files.