tidal-1.5.1: Pattern language for improvised music

Safe HaskellNone
LanguageHaskell2010

Sound.Tidal.Tempo

Contents

Synopsis

Documentation

data Tempo Source #

Constructors

Tempo 
Instances
Show Tempo Source # 
Instance details

Defined in Sound.Tidal.Tempo

Methods

showsPrec :: Int -> Tempo -> ShowS #

show :: Tempo -> String #

showList :: [Tempo] -> ShowS #

data State Source #

Constructors

State 

Fields

Instances
Show State Source # 
Instance details

Defined in Sound.Tidal.Tempo

Methods

showsPrec :: Int -> State -> ShowS #

show :: State -> String #

showList :: [State] -> ShowS #

timeToCycles :: Tempo -> Time -> Rational Source #

Returns the given time in terms of cycles relative to metrical grid of a given Tempo

clocked :: Config -> MVar Tempo -> (State -> IO ()) -> IO [ThreadId] Source #

Orphan instances

Show UDP Source # 
Instance details

Methods

showsPrec :: Int -> UDP -> ShowS #

show :: UDP -> String #

showList :: [UDP] -> ShowS #