# How to sort for pitch similarity?

In a question at Mathoverflow, I asked about how to measure the similarity of two musical notes:

https://mathoverflow.net/questions/404259/how-to-measure-perceived-note-similarity-in-music-simplicity-of-ratios

The method is described here, and I will link to it, since I can not write math formulas here: https://drive.google.com/file/d/1EhXpiG1XremKbdS5AENZT3TvBV8JAwM8/view?usp=sharing

Looking at the second matrix from a musician perspective: Is the ordering ok as it is there or not?

Edit: For those interested in algorithmic generation of music, here is a csv-dataset I released using the similarity functions for consonance (pitch) and volume, durations, is-rest:

https://www.kaggle.com/musescore1983/measuring-note-consonance-with-psd-kernel

• Are you asking what is a consonance and how to order intervals from the most consonant to the most dissonant? Sep 19 '21 at 17:29
• Consider e.g. music.stackexchange.com/questions/21940 Sep 19 '21 at 17:31
• Sep 19 '21 at 17:33
• And also: music.stackexchange.com/questions/67061/… What I'm trying to show here that there are various methods to classify intervals, and also it depends on the musical context. Concerning your table, I don't understand the order: major 2nd, major 7th, minor 7th, tritone, minor 2nd... Sep 19 '21 at 17:38
• Thanks for the detailed references. I will have to look at it in more detail! Thanks for your help. Sep 19 '21 at 17:54