hamusic-0.1.2.1: Library to handle abstract musicSource codeContentsIndex
Music.Analysis.Abstract.Rhythm
Portabilityportable
Stabilityexperimental
Maintainersilva.samuel@alumni.uminho.pt
Contents
Types
Auxiliary functions
Description
This module implements Rhythm Motive
Synopsis
type RhythmNode = (Delta, Dots)
type RhythmAbsolute = (RatioNumber, Dots)
type RhythmRelative = (RatioNumber, Dots)
type Dots = IntegerNumber
type Duration = Number
data DurationClass
= Whole
| Half
| Quarter
| Eighth
| Th16
| Th32
| Th64
| UnkownDuration Text
settings :: Settings
durationNode :: RhythmNode -> Number
compass :: (Number, Number) -> Number
tempo :: RatioNumber -> Motive RhythmAbsolute -> Motive RhythmAbsolute
duration :: Motive RhythmNode -> Number
reverse :: Motive RhythmNode -> Motive RhythmNode
symmetric :: RatioNumber -> Motive RhythmAbsolute -> Motive RhythmAbsolute
relative :: Motive RhythmAbsolute -> Motive RhythmRelative
absolute :: Motive RhythmRelative -> Motive RhythmAbsolute
durationNumber :: DurationClass -> Duration
durationTotalNumber :: (DurationClass, Dots) -> Duration
getDurationClass :: (Duration, Dots) -> DurationClass
getDuration :: (DurationClass, Dots) -> Duration
getDuration_aux1 :: DurationClass -> Duration
Types
type RhythmNode = (Delta, Dots)Source
Rhythm node
type RhythmAbsolute = (RatioNumber, Dots)Source
type RhythmRelative = (RatioNumber, Dots)Source
type Dots = IntegerNumberSource
Dots is defined by number. Only Integers and positive numbers are allowed.
type Duration = NumberSource
data DurationClass Source
Constructors
Whole
Half
Quarter
Eighth
Th16
Th32
Th64
UnkownDuration Text
show/hide Instances
settings :: SettingsSource
sefault settings
Auxiliary functions
durationNode :: RhythmNode -> NumberSource
computes duration PW
compass :: (Number, Number) -> NumberSource
computes compass duration
tempo :: RatioNumber -> Motive RhythmAbsolute -> Motive RhythmAbsoluteSource
changes duration
duration :: Motive RhythmNode -> NumberSource
computes duration
reverse :: Motive RhythmNode -> Motive RhythmNodeSource
reverse
symmetric :: RatioNumber -> Motive RhythmAbsolute -> Motive RhythmAbsoluteSource
symmetric trsnformation
relative :: Motive RhythmAbsolute -> Motive RhythmRelativeSource
Computes relative Rhythm
absolute :: Motive RhythmRelative -> Motive RhythmAbsoluteSource
Absolute PF
durationNumber :: DurationClass -> DurationSource
durationTotalNumber :: (DurationClass, Dots) -> DurationSource
getDurationClass :: (Duration, Dots) -> DurationClassSource
getDuration :: (DurationClass, Dots) -> DurationSource
getDuration_aux1 :: DurationClass -> DurationSource
Produced by Haddock version 2.6.0