mezzo-0.3.1.0: Typesafe music composition

Copyright(c) Dima Szamozvancev
LicenseMIT
Maintainerds709@cam.ac.uk
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Mezzo.Compose.Intervals

Contents

Description

Literals and operations involving intervals.

Synopsis

Atomic literals

Interval class literals

Interval size literals

Constructor

interval :: IC ic -> IS is -> Intv (Interval ic is) Source #

Concrete interval literals

Operations

transUp :: (tr ~ PitchRoot (RaiseBy (RootToPitch r) i), IntRep tr) => Intv i -> RootS r -> RootS tr Source #

transDown :: (tr ~ PitchRoot (LowerBy (RootToPitch r) i), IntRep tr) => Intv i -> RootS r -> RootS tr Source #