tidal-0.9.3: Pattern language for improvised music

Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.Parse

Contents

Synopsis

Documentation

data TPat a where Source #

AST representation of patterns

Constructors

TPat_Atom :: Parseable a => a -> TPat a 
TPat_Density :: Parseable a => Time -> TPat a -> TPat a 
TPat_Slow :: Parseable a => Time -> TPat a -> TPat a 
TPat_Zoom :: Parseable a => Arc -> TPat a -> TPat a 
TPat_DegradeBy :: Parseable a => Double -> TPat a -> TPat a 
TPat_Silence :: Parseable a => TPat a 
TPat_Foot :: Parseable a => TPat a 
TPat_Enum :: Parseable a => TPat a 
TPat_EnumFromTo :: Parseable a => TPat a -> TPat a -> TPat a 
TPat_Cat :: Parseable a => [TPat a] -> TPat a 
TPat_Overlay :: Parseable a => TPat a -> TPat a -> TPat a 
TPat_ShiftL :: Parseable a => Time -> TPat a -> TPat a 
TPat_pE :: Parseable a => TPat Int -> TPat Int -> TPat Integer -> TPat a -> TPat a 

Instances

Parseable a => Monoid (TPat a) Source # 

Methods

mempty :: TPat a #

mappend :: TPat a -> TPat a -> TPat a #

mconcat :: [TPat a] -> TPat a #

class Parseable a where Source #

Minimal complete definition

parseTPat, fromTo, fromThenTo

Methods

parseTPat :: String -> TPat a Source #

fromTo :: a -> a -> Pattern a Source #

fromThenTo :: a -> a -> a -> Pattern a Source #

enumFromTo' :: (Enum a, Ord a) => a -> a -> Pattern a Source #

enumFromThenTo' :: (Num a, Enum a, Ord a) => a -> a -> a -> Pattern a Source #

data Sign Source #

Constructors

Positive 
Negative 

applySign :: Num a => Sign -> a -> a Source #

r :: Parseable a => String -> Pattern a -> IO (Pattern a) Source #

splitFeet :: [TPat t] -> [[TPat t]] Source #

pE :: Parseable a => TPat a -> Parser (TPat a) Source #

eoff :: Int -> Int -> Integer -> Pattern a -> Pattern a Source #

Orphan instances