Moduletidal-link-1.2.2Haskell2010
Sound.Tidal.Clock
- 8 types
- 34 values
- 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