hosc-0.9: Haskell Open Sound Control

Sound.OpenSoundControl.OSC

Description

Alegbraic data types for OSC packets and encode and decode functions.

Synopsis

Documentation

data OSC Source

An OSC packet.

Constructors

Message String [Datum] 
Bundle Time [OSC] 

Instances

Eq OSC 
Ord OSC

OSC bundles can be ordered (time ascending). Bundles and messages compare EQ.

Show OSC 

data Datum Source

The basic elements of OSC messages.

Instances

encodeOSC :: OSC -> ByteStringSource

Encode an OSC packet.

decodeOSC :: ByteString -> OSCSource

Decode an OSC packet.