hosc-json: Haskell Open Sound Control JSON Serialisation

[ library, sound ] [ Propose Tags ]

hosc-json


[Skip to Readme]
Versions 0.14, 0.15, 0.16
Dependencies aeson (>=0.7), attoparsec, base (>=4.8 && <5), bifunctors, bytestring, hosc (==0.16.*), json, text, transformers, unordered-containers, utf8-string, vector [details]
License LicenseRef-GPL
Copyright (c) Rohan Drape, 2013-2017
Author Rohan Drape
Maintainer rd@slavepianos.org
Category Sound
Home page http://rd.slavepianos.org/t/hosc-json
Source repo head: darcs get http://rd.slavepianos.org/sw/hosc-json
Uploaded by RohanDrape at Wed Nov 22 01:45:41 UTC 2017
Distributions NixOS:0.16
Downloads 941 total (11 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2017-11-22 [all 1 reports]
Hackage Matrix CI

Modules

[Index]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for hosc-json-0.16

[back to package description]
hosc-json
---------

[hosc][hosc] <-> [json][json]

~~~~
HOSC                        JSON
--------------------------- -----------------------------------
Int32 0                     0
Float 0.0                   0.0
Double 0.1                  0.1
ASCII_String (pack "s")     "s"
Blob (pack [0,1])           {"blob":[0,1]}
TimeStamp 0.0               {"timestamp":0.0}
Midi (MIDI 0 1 2 3)         {"midi":[0,1,2,3]}
Message "/m" [Int32 0]      ["/m",0]
Bundle 0 [Message "/m" []]  ["#bundle",{"timestamp":0.0},["/m"]]
~~~~

## cli

[json-cat](?t=hosc-json&e=md/json-cat.md),
[json-cgi](?t=hosc-json&e=md/json-cgi.md),
[json-console](?t=hosc-json&e=md/json-console.md),
[json-nrt](?t=hosc-json&e=md/json-nrt.md),
[json-ws](?t=hosc-json&e=md/json-ws.md),
[print](?t=hosc-json&e=md/print.md)

[hosc]: http://rd.slavepianos.org/?t=hosc
[hosc-json]: http://rd.slavepianos.org/?t=hosc-json

[hosc]: http://rd.slavepianos.org/t/hosc
[json]: http://www.json.org/

© [rd](http://rd.slavepianos.org), 2013-2017, [gpl]

[gpl]: http://gnu.org/copyleft/