vivid-0.3.0.1: Sound synthesis with SuperCollider

Safe HaskellNone
LanguageHaskell98

Vivid.Actions.Scheduled

Contents

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

doScheduledIn :: Double -> Scheduled a -> IO a Source #

Schedule an action to happen n seconds from now

doScheduledAt :: Timestamp -> Scheduled a -> IO a Source #

Schedule an action to happen at the given time

doScheduledNow :: Scheduled a -> IO a 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