tidal-1.5.2: Pattern language for improvised music
Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.Stream

Documentation

data Stream Source #

Constructors

Stream 

Fields

type PatId = String Source #

data Cx Source #

Constructors

Cx 

Fields

Instances

Instances details
Show Cx Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> Cx -> ShowS

show :: Cx -> String #

showList :: [Cx] -> ShowS

data StampStyle Source #

Constructors

BundleStamp 
MessageStamp 

Instances

Instances details
Eq StampStyle Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

(==) :: StampStyle -> StampStyle -> Bool

(/=) :: StampStyle -> StampStyle -> Bool

Show StampStyle Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> StampStyle -> ShowS

show :: StampStyle -> String #

showList :: [StampStyle] -> ShowS

data Schedule Source #

Constructors

Pre StampStyle 
Live 

Instances

Instances details
Eq Schedule Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

(==) :: Schedule -> Schedule -> Bool

(/=) :: Schedule -> Schedule -> Bool

Show Schedule Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> Schedule -> ShowS

show :: Schedule -> String #

showList :: [Schedule] -> ShowS

data Target Source #

Constructors

Target 

Fields

Instances

Instances details
Show Target Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> Target -> ShowS

show :: Target -> String #

showList :: [Target] -> ShowS

data Args Source #

Constructors

Named 

Fields

ArgList [(String, Maybe Value)] 

Instances

Instances details
Show Args Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> Args -> ShowS

show :: Args -> String #

showList :: [Args] -> ShowS

data OSC Source #

Constructors

OSC 

Fields

Instances

Instances details
Show OSC Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> OSC -> ShowS

show :: OSC -> String #

showList :: [OSC] -> ShowS

data PlayState Source #

Constructors

PlayState 

Fields

Instances

Instances details
Show PlayState Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> PlayState -> ShowS

show :: PlayState -> String #

showList :: [PlayState] -> ShowS

startMulti :: [Target] -> Config -> IO () Source #

substitutePath :: String -> ControlMap -> Maybe String Source #

getString :: ControlMap -> String -> Maybe String Source #

toOSC :: Double -> Event ControlMap -> Tempo -> OSC -> Maybe (Double, Message) Source #

doCps :: MVar Tempo -> (Double, Maybe Value) -> IO () Source #

onTick :: Stream -> State -> IO () Source #

doTick :: Bool -> Stream -> State -> IO () Source #

send :: Cx -> (Double, Message) -> IO () Source #

sched :: Tempo -> Rational -> Double Source #

streamNudgeAll :: Stream -> Double -> IO () Source #

hasSolo :: Map k PlayState -> Bool Source #

streamReplace :: Show a => Stream -> a -> ControlPattern -> IO () Source #

streamMute :: Show a => Stream -> a -> IO () Source #

streamMutes :: Show a => Stream -> [a] -> IO () Source #

streamUnmute :: Show a => Stream -> a -> IO () Source #

streamSolo :: Show a => Stream -> a -> IO () Source #

streamUnsolo :: Show a => Stream -> a -> IO () Source #

withPatIds :: Stream -> [PatId] -> (PlayState -> PlayState) -> IO () Source #

streamSet :: Valuable a => Stream -> String -> Pattern a -> IO () Source #

streamSetI :: Stream -> String -> Pattern Int -> IO () Source #

streamSetF :: Stream -> String -> Pattern Double -> IO () Source #

streamSetS :: Stream -> String -> Pattern String -> IO () Source #

streamSetB :: Stream -> String -> Pattern Bool -> IO () Source #

streamSetR :: Stream -> String -> Pattern Rational -> IO () Source #

ctrlListen :: MVar StateMap -> Config -> IO (Maybe ThreadId) Source #