vivid-osc: Open Sound Control encode/decode

[ audio, codec, library, music, sound ] [ Propose Tags ]

A small, simple, and well-tested implementation of the Open Sound Control message format.

Example usage:

{-# LANGUAGE OverloadedStrings #-}
import Network.Socket
import Network.Socket.ByteString as SB

import Vivid.OSC

main = do
   -- Boring Network.Socket setup:
   (a:_) <- getAddrInfo Nothing (Just "") (Just "57120")
   s <- socket (addrFamily a) Datagram defaultProtocol
   connect s (addrAddress a)

   -- The interesting part:
   SB.send s $ encodeOSC $
      OSC "/play2" [OSC_S "cps", OSC_I 1, OSC_S "s", OSC_S "bd"]
Dependencies base (>3 && <5), binary, bytestring, cereal, time (>=1.2) [details]
License LicenseRef-GPL
Author Tom Murphy
Maintainer Tom Murphy
Category Audio, Codec, Music, Sound
Uploaded by TomMurphy at Wed Aug 9 04:29:32 UTC 2017
Distributions LTSHaskell:, NixOS:, Stackage:
Downloads 353 total (31 in the last 30 days)
Rating 2.0 (votes: 1) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-08-09 [all 1 reports]
Hackage Matrix CI




Maintainer's Corner

For package maintainers and hackage trustees