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

Copyright(c) Hans Hoglund 2012-2014
LicenseBSD-style
Maintainerhans@hanshoglund.se
Stabilityexperimental
Portabilitynon-portable (TF,GNTD)
Safe HaskellNone
LanguageHaskell2010

Music.Time.Placed

Contents

Description

 

Synopsis

Placed type

data Placed a Source

Placed represents a value with an offset in time.

A placed value has a known position, but no duration.

Placing a value inside Placed does not make it invariant under stretch, as the offset of a placed value may be stretched with respect to the origin. However, in contrast to a note the duration is not stretched.

Construction

placed :: Iso (Time, a) (Time, b) (Placed a) (Placed b) Source