Skip to content
Morphological metrics in Ruby.
Ruby
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README
mm.rb
mm_test.rb

README

A Ruby implementation of metrics described in Larry Polansky's article
Morphological Metrics--henceforth referred to as MM in this documentation--
available here:

http://eamusic.dartmouth.edu/~larry/mutationsFAQ.html

Plus some lucky bonus AI stuff.

In development. This is so pre-alpha. Don't even use this.

---

Here's a list of things that needs to happen before you should use this:

Functionality
    - Should this library have these search functions, or should they be
      split into another library? Is there a standard for doing this in
      Ruby already?
    - Angle. What the hell to do with angle. Combinatorial angle?
    - Implement a wider variety of possibilities for adjacency functions, esp.
      the notion of a variable adjacency interval.

Test coverage
    - Additional tests for all of the metrics supplied in MM.
    - Tests for important utility functions.
    - Test for multimetrics.
    - Test search functions.

Documentation
    - Improved comments
        + Better description of what different scaling methods do in different
          contexts.

Example code
    - Should have a brief tutorial based on MM which walks through the
      composition of a short piece of music.
    - Possibly also a scientific computing example.

License
    - Decide what license to use.

Code cleanliness
    - Think about this
You can’t perform that action at this time.