hosc-0.19.1: Haskell Open Sound Control
Safe HaskellNone
LanguageHaskell2010

Sound.OSC.Coding.Encode.Base

Description

Base-level encode function for OSC packets (slow). For ordinary use see Builder.

Synopsis

Documentation

extend :: Word8 -> ByteString -> ByteString Source #

Align byte string, if required.

encode_datum :: Datum -> ByteString Source #

Encode OSC Datum.

MIDI: Bytes from MSB to LSB are: port id, status byte, data1, data2.

encode_message_blob :: Message -> Datum Source #

Encode OSC Message as an OSC blob.