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

Sound.Tidal.Stream

Documentation

data TimeStamp Source #

Instances

Instances details
Eq TimeStamp Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

(==) :: TimeStamp -> TimeStamp -> Bool

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

Show TimeStamp Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> TimeStamp -> ShowS

show :: TimeStamp -> String #

showList :: [TimeStamp] -> ShowS

data Stream Source #

Constructors

Stream 

Fields

type PatId = String Source #

data Cx Source #

Constructors

Cx 

Fields

data OSCTarget Source #

Constructors

OSCTarget 

Fields

Instances

Instances details
Show OSCTarget Source # 
Instance details

Defined in Sound.Tidal.Stream

Methods

showsPrec :: Int -> OSCTarget -> ShowS

show :: OSCTarget -> String #

showList :: [OSCTarget] -> ShowS

startStream :: Config -> MVar StateMap -> [OSCTarget] -> IO (MVar ControlPattern, MVar Tempo, [Cx]) Source #

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

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

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

toMessage :: Config -> Double -> OSCTarget -> Tempo -> Event (Map String Value) -> Maybe Message Source #

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

onTick :: Config -> MVar StateMap -> MVar ControlPattern -> [Cx] -> MVar Tempo -> State -> IO () Source #

send :: Transport t => OSCTarget -> Double -> t -> (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 #