hsc3-server-0.9.2: SuperCollider server resource management and synchronization.

Safe HaskellNone
LanguageHaskell98

Sound.SC3.Server.Notification

Description

Server notification processors.

Synopsis

Documentation

newtype Notification a Source

A notification transformer, extracting a value from a matching OSC message.

Constructors

Notification 

Fields

match :: Message -> Maybe a
 

hasAddress :: String -> Notification Message Source

Wait for an OSC message matching a specific address.

Returns the matched OSC message.

waitFor :: (RecvOSC m, SendOSC m) => Notification a -> m a Source

Send an OSC packet and wait for a notification.

Returns the transformed value.

waitForAll :: (RecvOSC m, SendOSC m) => [Notification a] -> m [a] Source

Send an OSC packet and wait for a list of notifications.

Returns the transformed values, in unspecified order.