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

Sound.Tidal.Tempo

Synopsis

Documentation

data Tempo Source #

Constructors

Tempo 

Instances

Instances details
Eq Tempo Source # 
Instance details

Defined in Sound.Tidal.Tempo

Methods

(==) :: Tempo -> Tempo -> Bool #

(/=) :: Tempo -> Tempo -> Bool #

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

Instances details
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 #