music-diatonic-0.1.2: Implementation of basic western musical theory objects.

Safe HaskellSafe
LanguageHaskell98

Music.Diatonic.Scale

Description

The Scale module implements scales.

Synopsis

Documentation

data Scale Source #

Instances

class Scl a where Source #

Minimal complete definition

scale

Methods

scale :: a -> Scale Source #

Instances

majorScale :: Note -> Scale Source #

Creates a Major diatonic Scale using the given Note as the tonic.

minorScale :: Note -> Scale Source #

Creates a Minor diatonic Scale using the given Note as the tonic.

majorPentatonicScale :: Note -> Scale Source #

Creates a Major pentatonic Scale using the given Note as the tonic.

minorPentatonicScale :: Note -> Scale Source #

Creates a Minor pentatonic Scale using the given Note as the tonic.

minorHarmonicScale :: Note -> Scale Source #

Creates a Minor harmonic Scale using the given Note as the tonic.

minorMelodicScale :: Note -> Scale Source #

Creates a Minor melodic Scale using the given Note as the tonic.

tetrachord :: Note -> [Note] Source #

Returns a tetrachord using the given Note as the starting note.

tetrachord G == [G,A,B,C]