|
Music.Analysis.Abstract.Melodic | Portability | portable | Stability | experimental | Maintainer | silva.samuel@alumni.uminho.pt |
|
|
|
|
|
Description |
This module implements Melodic Motive
|
|
Synopsis |
|
type Pitch = Number | | type MelodicNode = Maybe (Delta, Accident) | | type MelodicRelative = Maybe (Delta, Accident) | | type MelodicAbsolute = Maybe (Pitch, Accident) | | type MelodicClass = Maybe (PitchClass, Accident) | | type Accident = Maybe Number | | | | | | type MelodicClassNode = Maybe (PitchClass, Accident) | | settings :: Settings | | rest :: b -> ((Delta, Accident) -> b) -> MelodicNode -> b | | mkRest :: MelodicNode | | mkNoRest :: MelodicNode | | pitch :: (Number, Accident) -> (IntegerNumber, (PitchClass, Accident)) | | pitch' :: (Number, Accident) -> (PitchClass, Accident) | | absPitch :: (PitchClass, Accident) -> (Number, Accident) | | transpose12 :: Number -> MelodicAbsolute -> MelodicAbsolute | | f7to12 :: (Number, Accident) -> (Number, Accident) | | f12to7 :: (Number, Accident) -> (Number, Accident) | | transpose :: Number -> Motive MelodicAbsolute -> Motive MelodicAbsolute | | reverse :: Motive MelodicNode -> Motive MelodicNode | | symmetric :: Number -> Motive MelodicAbsolute -> Motive MelodicAbsolute | | toAlpha :: Motive MelodicAbsolute -> Motive (Maybe (IntegerNumber, (PitchClass, Accident))) | | toAlpha' :: Motive MelodicNode -> Motive MelodicClassNode | | fromAlpha :: Motive MelodicClassNode -> Motive MelodicAbsolute | | to12 :: Motive MelodicAbsolute -> Motive MelodicAbsolute | | from12 :: Motive MelodicAbsolute -> Motive MelodicAbsolute | | relative :: Motive MelodicAbsolute -> Motive MelodicRelative | | absolute :: Motive MelodicRelative -> Motive MelodicAbsolute |
|
|
Documentation |
|
|
Melodic node
|
|
|
|
|
|
|
|
|
|
|
Accident is defined as number provisional.
It doesn't support natural (only supports flats and sharps)
To supports sharps, flats and natural, it will be Maybe Number
This number is number of half-tones.
|
|
|
Constructors | DoubleSharp | | Sharp | | Natural | | Flat | | DoubleFlat | | UnknowAccident Text | |
| Instances | |
|
|
|
Pitch Class definition
| Constructors | | Instances | |
|
|
|
MelodicNode with PitchClass
|
|
|
default settings
|
|
Combinators
|
|
|
rest combinator
|
|
Auxiliary functions
|
|
|
Default rest
|
|
|
default non-rest
|
|
|
Transforms 7-number into Char notation
|
|
|
Transforms 7-number into Char notation
|
|
|
Transforms Char into 7-Number notation
|
|
|
Transpose to 12 level
|
|
|
transforms 7 level to 12-level notation
|
|
|
transforms 12-level into 7-level notation
|
|
|
Transposes over 7 absolute level
|
|
|
Reverse
|
|
|
symmetric melodic
|
|
|
Convert to alpha notation
|
|
|
Convert to alpha notation
|
|
|
get 7-Absolute music from alpha notation
|
|
|
Convert 7-absolute into 12-absolute notation
|
|
|
Convert 12-absolute into 7-absolute notation
|
|
|
relative melodic.
|
|
|
absolute PF
|
|
Produced by Haddock version 2.6.0 |