Pypianoroll provides several objective metrics proposed in the literature. These objective metrics could be used to evaluate a music generation system by comparing the statistical difference between the training data and the generated samples.
pypianoroll.empty_beat_rate
pypianoroll.n_pitches_used
pypianoroll.n_pitch_classes_used
pypianoroll.pitch_range_tuple
pypianoroll.pitch_range
pypianoroll.qualified_note_rate
pypianoroll.polyphonic_rate
pypianoroll.drum_in_pattern_rate
pypianoroll.in_scale_rate
pypianoroll.tonal_distance