VictorCMiraldo / hs-fragem

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

Durations in terms of formal music notation are hard #1

Open VictorCMiraldo opened 6 years ago

VictorCMiraldo commented 6 years ago

Using note values in Half, Whole, Quarter, ... is very tricky. Specially in the presence of irrational rhytmhs (e.g. triplets).

Solution:

Forget about it, use MIDI ticks instead. This shouldn't impact the overall analysis anyway.

VictorCMiraldo commented 6 years ago

TODO:

VictorCMiraldo commented 6 years ago

@irisyupingren , although points 1 and 2 have been taken care of; I am still not very happy with the final result; we should eventually rewrite our Midi -> Voice parser.

Current limitations:

  1. Can only handle MIDI files split into tracks ( Type 1 MIDI files)
  2. Cannot handle tempo changes, only time signature changes.
  3. Can only handle MIDI files specified in ticks-per-beat measurements
  4. Handling time signature changes feels flaky and fragile; I wouldn't be surprised if it just breaks.

For the purposes of our initial study, however, I think that what we have is fine; I'll go about getting the strong beats of sections and computing their fractal dimensions before my travel.