PossibleRhythms Example usage for finding all of the possible 4/4 two-measure phrases: possibleMeasures = numPossibleMeasure(4) possibleTwoMeasurePhrases = numPossiblePhrase(possibleMeasures,2)