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

Sound.Tidal.Stream

Synopsis

Documentation

data Cx Source #

Constructors

Cx 

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

Show StampStyle Source # 
Instance details

Defined in Sound.Tidal.Stream

data Schedule Source #

Constructors

Pre StampStyle 
Live 

Instances

Instances details
Eq Schedule Source # 
Instance details

Defined in Sound.Tidal.Stream

Show Schedule Source # 
Instance details

Defined in Sound.Tidal.Stream

data Target Source #

Instances

Instances details
Show Target Source # 
Instance details

Defined in Sound.Tidal.Stream

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

OSCContext 

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 

Instances

Instances details
Show PlayState Source # 
Instance details

Defined in Sound.Tidal.Stream

sendO :: Bool -> Maybe UDP -> Cx -> Message -> IO () Source #

sendBndl :: Bool -> Maybe UDP -> Cx -> Bundle -> IO () Source #

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 :: Maybe UDP -> Cx -> (Double, Bool, 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 #