vivid-0.5.0.2: Sound synthesis with SuperCollider
Safe HaskellNone
LanguageHaskell2010

Vivid.Actions.Scheduled

Description

This is for timing of actions that's more precise than IO

It tells the server when to perform the actions, so musical timing won't be affected by e.g. network latency or the time it took to compute a value

If you're running vivid on a different computer than the SC synth, make sure the clocks agree

Synopsis

Documentation

doScheduledInWith :: SCServerState -> Double -> Scheduled x -> IO x Source #

Schedule an action to happen n seconds from now

doScheduledAtWith :: SCServerState -> Timestamp -> Scheduled a -> IO a Source #

Schedule an action to happen at the given time

doScheduledNowWith :: SCServerState -> Scheduled x -> IO x Source #

Schedule an action to happen right now. Because of server latency this could arrive late, so you might want to do something like doScheduledIn 0.01 instead:

Orphan instances