Understanding and Compressing Music with Maximal Transformable Patterns

01/26/2022
by   David Meredith, et al.
0

We present a polynomial-time algorithm that discovers all maximal patterns in a point set, D⊂ℝ^k, that are related by transformations in a user-specified class, F, of bijections over ℝ^k. We also present a second algorithm that discovers the set of occurrences for each of these maximal patterns and then uses compact encodings of these occurrence sets to compute a losslessly compressed encoding of the input point set. This encoding takes the form of a set of pairs, E={⟨ P_1, T_1⟩,⟨ P_2, T_2⟩,…⟨ P_ℓ, T_ℓ⟩}, where each ⟨ P_i,T_i⟩ consists of a maximal pattern, P_i⊆ D, and a set, T_i⊂ F, of transformations that map P_i onto other subsets of D. Each transformation is encoded by a vector of real values that uniquely identifies it within F and the length of this vector is used as a measure of the complexity of F. We evaluate the new compression algorithm with three transformation classes of differing complexity, on the task of classifying folk-song melodies into tune families. The most complex of the classes tested includes all combinations of the musical transformations of transposition, inversion, retrograde, augmentation and diminution. We found that broadening the transformation class improved performance on this task. However, it did not, on average, improve compression factor, which may be due to the datasets (in this case, folk-song melodies) being too short and simple to benefit from the potentially greater number of pattern relationships that are discoverable with larger transformation classes.

READ FULL TEXT

Please sign up or login with your details

Forgot password? Click here to reset