hosc-0.15: Haskell Open Sound Control

Safe HaskellNone
LanguageHaskell98

Sound.OSC.Class

Description

Typeclass for encoding and decoding OSC packets.

Synopsis

Documentation

class OSC o where Source

A type-class for values that can be translated to and from OSC Packets.

Methods

toPacket Source

Arguments

:: o 
-> Packet

Translation to Packet.

fromPacket Source

Arguments

:: Packet 
-> Maybe o

Translation from Packet.