tidal-1.6.0: Pattern language for improvised music

Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.Stream

Synopsis

Documentation

data Cx Source #

Constructors

Cx 

Fields

Instances
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
Eq StampStyle Source # 
Instance details

Defined in Sound.Tidal.Stream

Show StampStyle Source # 
Instance details

Defined in Sound.Tidal.Stream

data Schedule Source #

Constructors

Pre StampStyle 
Live 
Instances
Eq Schedule Source # 
Instance details

Defined in Sound.Tidal.Stream

Show Schedule Source # 
Instance details

Defined in Sound.Tidal.Stream

data Target Source #

Constructors

Target 
Instances
Show Target Source # 
Instance details

Defined in Sound.Tidal.Stream

data Args Source #

Constructors

Named 

Fields

ArgList [(String, Maybe Value)] 
Instances
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
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 
Instances
Show PlayState Source # 
Instance details

Defined in Sound.Tidal.Stream

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

Query the current pattern (contained in argument stream :: Stream) for the events in the current arc (contained in argument st :: T.State), translate them to OSC messages, and send these.

If an exception occurs during sending, this functions prints a warning and continues, because the likely reason is that the backend (supercollider) isn't running.

If any exception occurs before or outside sending (e.g., while querying the pattern, while computing a message), this function prints a warning and resets the current pattern to the previous one (or to silence if there isn't one) and continues, because the likely reason is that something is wrong with the current pattern.

send :: Cx -> (Double, Message) -> 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 #