VictorCMiraldo / hs-fragem

Haskell Fractal Geometry of Music
MIT License
4 stars 0 forks source link

Velocity [Feature request] #3

Open irisyupingren opened 6 years ago

irisyupingren commented 6 years ago

For extracting perceptually and cognitively based musical patterns, accents (velocity in midi) play an important role. We are now zooming in/out using metric analysis for midi data without reliable accent data.

We are now getting a well-curated dataset with convincing accent data and there are more to come in the future. So it would be great if we could

1) add in the functionality to extract the velocity in our midi parser

2) add an "ad-hoc metric" in the Metrics folder. It adds to two crucial functionalities:

first, the velocity could be directly taken as the values of this metric, therefore allow us to consider the perceptually and cognitively based musical patterns;

second, it gives the freedom to arbitrarily assign metric values to the music, therefore allow us to investigate into how melody reduction (zoom in/out) affects musical pattern analysis.