Javascript taught Music Theory
TeoriaInterval#compound()
has been removed (since it was redundant), and TeoriaInterval#simple()
has been changed to return a new TeoriaInterval
. If you want the simpleInterval representation of an interval now, just call .toString()
on the interval
This release uses a two dimensional coord plane for representing notes and intervals (and thus also chords). This abstracts the representation of a note (and a interval) from its string name and will make it easier to implement different string interfaces (for different note names), implement microtonal temperaments and also simplifies the code a lot!
Because of the transition from string representation to coords, many properties of both the TeoriaNote
, TeoriaInterval
and the TeoriaChord
objects, have been translated to methods. Take a look at the docs (in the README) to familiarise yourself with these changes.
This is the last (and only) release using string manipulations internally for representing notes, chord and intervals.
This release is superseded by v0.3.