Moduletidal-link-1.2.2Haskell2010
Sound.Tidal.Clock
Synopsis
- type Time
- type Clock
- data ClockMemory
- data ClockState
- data ClockRef
- data ClockConfig
- type TickAction
- data ClockAction
- value defaultCps
- value defaultConfig
- value clocked
- value runClock
- value initClock
- value clockCheck
- value tick
- value clockProcess
- value processAction
- value arcStart
- value arcEnd
- value beatToCycles
- value cyclesToBeat
- value getSessionState
- value getZeroedSessionState
- value getTempo
- value setTempoCPS
- value timeAtBeat
- value timeToCycles
- value cyclesToTime
- value linkToOscTime
- value addMicrosToOsc
- value logicalTime
- value getBPM
- value getCPS
- value getCycleTime
- value resetClock
- value setClock
- value setBPM
- value setCPS
- value setNudge
- value clockOnce
- value disableLink
- value enableLink
- Packagetidal-link-1.2.2
- Exports42
- LanguageHaskell2010
- LicenceGPL-3.0-only
- SourceClock.hs
representation of a tick based clock
internal read-only memory of the clock
Constructors
internal mutable state of the clock
Instances1Show
Show ClockStateDefined in tidal-link-1.2.2 · Sound.Tidal.Clock
reference to interact with the clock, while it is running
Constructors
configuration of the clock
Constructors
type
type TickAction = (Time, Time) -> Double -> ClockConfig -> ClockRef -> (SessionState, SessionState) -> IO ()action to be executed on a tick, | given the current timespan, nudge and reference to the clock
creates a clock according to the config and runs it | in a seperate thread
runs the clock on the initial state and memory as given | by initClock, hands the ClockRef for interaction from outside
creates a ableton link instance and an MVar for interacting | with the clock from outside and computes the initial clock state