music-score-1.6: Musical score and part representation.

Portabilitynon-portable (TF,GNTD)
Stabilityexperimental
Maintainerhans@hanshoglund.se
Safe HaskellNone

Music.Score.Ornaments

Contents

Description

Provides functions for manipulating ornaments (and miscellaneous stuff to be given its own module soon...).

Synopsis

Tremolo

tremolo :: HasTremolo a => Int -> a -> aSource

Set the number of tremolo divisions for all notes in the score.

Text

class HasText a whereSource

Methods

addText :: String -> a -> aSource

Instances

text :: (HasPart' a, HasText a) => String -> Score a -> Score aSource

Attach the given text to the first note in the score.

Harmonics

harmonic :: HasHarmonic a => Int -> a -> aSource

Make all notes natural harmonics on the given overtone (1 for octave, 2 for fifth etc). Sounding pitch is unaffected, but notated output is transposed automatically.

artificial :: HasHarmonic a => a -> aSource

Make all notes natural harmonics on the given overtone (1 for octave, 2 for fifth etc). Sounding pitch is unaffected, but notated output is transposed automatically.

Slides and glissando

class HasSlide a whereSource

Methods

setBeginGliss :: Bool -> a -> aSource

setBeginSlide :: Bool -> a -> aSource

setEndGliss :: Bool -> a -> aSource

setEndSlide :: Bool -> a -> aSource

slide :: (HasPart' a, HasSlide a) => Score a -> Score aSource

Add a slide between the first and the last note.

glissando :: (HasPart' a, HasSlide a) => Score a -> Score aSource

Add a glissando between the first and the last note.