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

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

Music.Score.Ornaments

Description

Provides functions for manipulating ornaments (and some other things...).

Synopsis

Documentation

class HasText a whereSource

Methods

addText :: String -> a -> aSource

Instances

newtype TextT a Source

Constructors

TextT 

Fields

getTextT :: ([String], a)
 

Instances

newtype SlideT a Source

Constructors

SlideT 

Fields

getSlideT :: (Bool, Bool, a, Bool, Bool)
 

tremolo :: (Functor s, HasTremolo b) => Int -> s b -> s bSource

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

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

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

harmonic :: (Functor s, HasHarmonic a) => Int -> s a -> s 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 :: (Functor s, HasHarmonic a) => s a -> s 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.

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

Slide between the first and the last note.