Classes

The following classes are available globally.

  • Modes** is an abstract class that deals with standard modal collections as well as cataloguing user-generated scales. E.g. Modes.Major.fourth.offsets gives offsets-from-tonic for the lydian mode as an array of Ints, i.e. [0, 2, 4, 6, 7, 9, 11].

    See more

    Declaration

    Swift

    open class Modes
  • XenharmonicTools** is an abstract class and a toolkit for dealing with tuning systems, and more generally with pitch-spaces, outside 12-ED2.

    See more

    Declaration

    Swift

    open class XenharmonicTools
  • PostTonalTools** is an abstract class and a toolkit for dealing with post-tonal music-theoretic and compositional conventions, including musical group theory, tone rows and matrices, etc.

    See more

    Declaration

    Swift

    open class PostTonalTools
  • Duration** is a simple base-class, not intended to be instantiated directly but to allow the Metered and Proportional subclasses to operate interchangeably in some contexts.

    See more

    Declaration

    Swift

    open class Duration: Equatable
  • Metered** is a subclass of Duration that acts as an abstraction for a duration that has some metric context. The lastInterval property reflects the most recent absolute-time interval represented by an instance.

    See more

    Declaration

    Swift

    open class Metered: Duration
  • Proportional** is a subclass of Duration that acts as an abstraction for a duration that is proportional to some base absolute-time interval. The lastInterval property reflects the most recent absolute-time interval represented by an instance.

    See more

    Declaration

    Swift

    open class Proportional: Duration
  • TransformationalTools** is an abstract class and a toolkit for dealing with neo-riemannian and transformational ideas in musical composition and analysis.

    See more

    Declaration

    Swift

    public class TransformationalTools