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

page 1

page 2

page 3

page 4

research
08/17/2017

Learning Musical Relations using Gated Autoencoders

Music is usually highly structured and it is still an open question how ...
research
05/11/2022

A New Class of String Transformations for Compressed Text Indexing

Introduced about thirty years ago in the field of Data Compression, the ...
research
10/09/2020

A Generic Approach to Detect Design Patterns in Model Transformations Using a String-Matching Algorithm

Maintaining software artifacts is among the hardest tasks an engineer fa...
research
03/25/2022

Move Complexity of a Self-Stabilizing Algorithm for Maximal Independent Sets

A_𝖽𝖾𝗀 is a self-stabilizing algorithm that computes a maximal independen...
research
11/11/2021

Avoiding a pair of patterns in multisets and compositions

In this paper, we study the Wilf-type equivalence relations among multis...
research
02/06/2018

Code Reuse With Transformation Objects

We present an approach for a lightweight datatype-generic programming in...
research
06/28/2019

RECURSIA-RRT: Recursive translatable point-set pattern discovery with removal of redundant translators

Two algorithms, RECURSIA and RRT, are presented, designed to increase th...

Please sign up or login with your details

Forgot password? Click here to reset