ChordPro auto-accompaniment

Before we close out the year, a Christmas gift!

Last January, I developed and wrote about “cp2mid“, a Java program to convert extended ChordPro files to a Yamaha accompaniment MIDI files. cp2mid lets someone compose in extended ChordPro format and play the composition on a Yamaha arranger in an auto-accompaniment style of your own choosing. If you don’t feel like composing, just grab one of the many ChordPro songs on the Web, clean it up, translate it, and play it.

You’ve probably seen ChordPro on the interwebs. It looks like:

# A simple ChordPro example 

{title: God Rest Ye, Merry Gentlemen}

God [Cm] rest ye merry, [Cm] gentlemen,
Let [Ab] nothing you dis[G7]may.
Re [Cm] member, Christ our [Cm] Savior
Was [Ab] born on Christmas [G7] day.

Extended ChordPro adds a few new directives (the things between curly braces) and tightens up the notion of musical time in order to mark measures and place chord changes within measures.

cp2mid translates the chords and lyrics into a Standard MIDI File (SMF). The SMF contains all the magic needed to play an auto-accompaniment on a supporting Yamaha arranger keyboard. (PSR E series, unfortunately, is out of luck.)

If you would like more information, here are some links to dive into:

The first three posts are essential reading for cp2mid users. The last two posts are intended for coders and other technically inclined folks.

Oh, yeah, you’ll need the ZIP file with example songs and cp2mid Java code.

Copyright © 2022 Paul J. Drongowski