Music# There are two classes that make up the core of this module: The Rhythm class, which contains a metrical, rhythmical sequence (with a time signature etc.). The Melody class, which contains a rhythm as well as pitch information.