temporal-music-notation-0.2.2: music notation

Safe HaskellNone

Temporal.Music.Note

Contents

Description

This module gives an example of complete musical structure. It defines the notion of note.

Synopsis

Types

data Note a Source

Note has volume, pitch and some timbral paramters.

Constructors

Note 

Instances

Functor Note 
Eq a => Eq (Note a) 
Show a => Show (Note a) 
Default a => Default (Note a) 
VolumeLike (Note a) 
PitchLike (Note a) 

note :: Default a => Step -> Score (Note a)Source

Constructs default Note with given step value.

data Drum a Source

Drum has only pitch and some timbral paramters.

Constructors

Drum 

Fields

drumVolume :: Volume
 
drumParam :: a
 

Instances

Functor Drum 
Eq a => Eq (Drum a) 
Show a => Show (Drum a) 
Default a => Default (Drum a) 
VolumeLike (Drum a) 

bam :: Default a => Accent -> Score (Drum a)Source

Constructs drum note with given accent. Level is set to the default value.

Shortcuts

Note shortcuts

Function n[i] is equivalent to call note i.

Drum shortcuts

See Temporal.Music.Score shortcuts for naming conventions.