Safe Haskell | None |
---|
Server notification processors.
- newtype Notification a = Notification {}
- hasAddress :: String -> Notification Message
- waitFor :: (RecvOSC m, SendOSC m) => Notification a -> m a
- waitForAll :: (RecvOSC m, SendOSC m) => [Notification a] -> m [a]
- data Status = Status {}
- status_reply :: Notification Status
- tr :: NodeId -> Maybe Int32 -> Notification Float
- synced :: SyncId -> Notification SyncId
- done :: String -> Notification [Datum]
- data NodeNotification
- headNodeId :: NodeNotification -> Maybe NodeId
- tailNodeId :: NodeNotification -> Maybe NodeId
- n_go :: NodeId -> Notification NodeNotification
- n_end :: NodeId -> Notification NodeNotification
- n_off :: NodeId -> Notification NodeNotification
- n_on :: NodeId -> Notification NodeNotification
- n_move :: NodeId -> Notification NodeNotification
- n_info :: NodeId -> Notification NodeNotification
- n_go_ :: NodeId -> Notification ()
- n_end_ :: NodeId -> Notification ()
- n_off_ :: NodeId -> Notification ()
- n_on_ :: NodeId -> Notification ()
- n_set :: NodeId -> Notification [(Either Int32 String, Float)]
- n_setn :: NodeId -> Notification [(Either Int32 String, [Float])]
- data BufferInfo = BufferInfo {
- numFrames :: Int32
- numChannels :: Int32
- sampleRate :: Float
- b_info :: BufferId -> Notification BufferInfo
Documentation
newtype Notification a Source
A notification transformer, extracting a value from a matching OSC message.
hasAddress :: String -> Notification MessageSource
Wait for an OSC message matching a specific address.
Returns the matched OSC message.
waitFor :: (RecvOSC m, SendOSC m) => Notification a -> m aSource
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.
synced :: SyncId -> Notification SyncIdSource
done :: String -> Notification [Datum]Source
n_go_ :: NodeId -> Notification ()Source
n_end_ :: NodeId -> Notification ()Source
n_off_ :: NodeId -> Notification ()Source
n_on_ :: NodeId -> Notification ()Source
data BufferInfo Source
BufferInfo | |
|