image provider

Rhythm Tutor








In 4/4 musical time, if you only use 8th notes, quarter notes, half notes, or whole notes there are only a limited number of possible rhythms. At each time slot there can be sound or silence. The previous note can be tied/joined to the previous or not.

It is thus possible to enumerate all possible rhythms and display the traditional music notation for them. All you need is a Unicode font that has glyphs for the four notes, or you can use png images and combine them on a Canvas.

You can also make the sounds, either with MIDI (Musical Instrument Digital Interface) (which Java now supports), or with mathematically synthesized sound.

You let people chose the rhythms and then hear them. You can make it into a game. You play the rhythm and they have to guess which musical notation corresponds.

You make the first note of each monotonous bar a little louder.

Other than 4/4 time you could do 3/4 or 5/5 or 6/6 etc.

You could use 1/3 notes, 1/5 notes. You could superimpose two rhythms on top of each other. What does a 6 beat rhythm sound like on top of a 7? The idea is to give a musician a tools to become exhaustively familiar with all the possibilities rather than sticking in familiar ruts.

Here is another similar projects you could tackle: play scales in tunings based on different numbers besides 12, e.g. where each note is the 16th root of two larger than the last, rather than the 12th root. You calculate the twelfth root of 2 as Math. pow( 2, 1.0d/12.0d ) in Java.

Experiment with what the analogous chords and arpeggios sound like.

Try transposing some public domain music such as Bach’s counter point to your new tunings to see what it sounds like.

Your program could be an application and Applet or a JWS (Java Web Start) app.

Name That Tune

This page is posted
on the web at:

Optional Replicator mirror
on local hard disk J:

Canadian Mind Products

Your face IP:[]
You are visitor number