hosc-0.10.1: Haskell Open Sound Control

Sound.OpenSoundControl.Type

Description

Alegbraic data types for OSC datum and packets.

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.

Read OSC 
Show OSC 

data Datum Source

The basic elements of OSC messages.

Instances

message :: String -> [Datum] -> OSCSource

Message constructor

Signals an error when the address a doesn't conform to the OSC specification.

bundle :: Time -> [OSC] -> OSCSource

Bundle constructor.

Signals an error when xs is empty.

tag :: Datum -> CharSource

Single character identifier of an OSC datum.