- class Arrangeable a where
- type Time = Double
- type Dur = Time
- type Score a = MediaUnit Dur () a
- toList :: Score a -> EventList Dur a
- dur :: Temporal Dur a => a -> Dur
- rest :: Temporal Dur a => Dur -> a
- stretch :: Stretchable Dur a => Dur -> a -> a
- note :: Dur -> a -> Score a
- delay :: (Temporal Dur a, Arrangeable a) => Dur -> a -> a
- line :: Arrangeable a => [a] -> a
- chord :: Arrangeable a => [a] -> a
- loop :: Arrangeable a => Int -> a -> a
- cut :: Dur -> Dur -> Score a -> Score a
- tmap :: (Dur -> a -> b) -> Score a -> Score b

# Documentation

class Arrangeable a where

composing structures in sequent and parallel ways

Arrangeable (Media c a) | |

Dur t => Arrangeable (EventList t a) | |

Dur t => Arrangeable (MediaUnit t c a) |

stretch :: Stretchable Dur a => Dur -> a -> aSource

stretch in time domain

line :: Arrangeable a => [a] -> aSource

sequential composition

chord :: Arrangeable a => [a] -> aSource

parallel composition

loop :: Arrangeable a => Int -> a -> aSource