hosc-0.15: Haskell Open Sound Control

Safe Haskell | None
Language | Haskell98

Sound.OSC.Core

Description

Composite of non-transport related modules.

Provides the `Datum`, `Message`, `Bundle` and `Packet` types and the `Datem`, `OSC` and `Coding` type-classes.

The basic constructors are `message` and `bundle`, the basic coding functions are `encodePacket` and `decodePacket`.

    import Sound.OSC.Core

    let {o = bundle immediately [message "/g_free" [Int32 0]]
        ;e = encodeBundle o :: String}
    in decodeBundle e == o