Hi everyone,
I'm working on a project that implements a MIDI sequencer that allows you to record a melody. I´ve implemented it with tables and so far so good.
What I'm trying to do now is to extract the tonality from the recorded melody. I thought I could first use [spigot] to create a new table with [tabread], using a module 12, this way eliminating all the 0 values from the recorded melody and only maintaining the notes ranging from 0-11.
Now what I had thought was to have different tables that correspond to different scales, and compare the newly recorded table that has all the note values from 0-11 to each of the scale tables, trying to see with which table it has the most similarity.
I'm not really sure how I could get this done, but if someone has an idea I would be happy to hear it :D.
Thanks!