haskore-supercollider-0.3: Haskore back-end for SuperCollider

Safe HaskellNone
LanguageHaskell98

Haskore.Interface.SuperCollider.Play

Synopsis

Documentation

music :: Ord note => Time -> SoundHandler note -> T note -> IO () Source

melody :: Time -> Instrument -> T () -> IO () Source

schedule :: Time -> T -> IO () Source

scheduleWithPlayer :: Transport m => (T Time Message -> m ()) -> T -> m () Source

defaultLatency :: Time Source

Default value for latency used in Haskore.Interface.SuperCollider.Play.Live and connected modules.

installSound :: (Transport m, SoundParameters params) => String -> Sound params -> m () Source

playAtom :: Transport m => NodeId -> String -> [(String, Double)] -> m () Source

performanceTrans :: (Transport m, MonadIO m) => Time -> [Message] -> T Time -> m () Source

messagesGrouped :: Transport m => T m -> Time -> T Time Message -> m () Source

Uses threadDelay and getClockTime for a long-time stable, but not very accurate timing. Use time stamped messages for SuperCollider in order to achieve exact scheduling. You have to specify the latency, that is, the maximal expected delay of creating and sending messages to the SuperCollider server.

messagesSingly :: Transport m => T m -> Time -> T Time Message -> m () Source