Liking cljdoc? Tell your friends :D

cljs-audio

CircleCI

Convenient Web Audio for ClojureScript

[com.awayfrompeople/cljs-audio "0.2.1"]

com.awayfrompeople/cljs-audio {:mvn/version "0.2.1"}

Code Example

https://github.com/cljs-audio/cljs-audio/blob/master/src/example/cljs_audio/app.cljs

Example Demo

https://zen-fermat-f79298.netlify.app/

Rationale

It's tough to manage a complex audio graph with Web Audio API due to its imperative style. This library aims to provide a declarative wrapper around it, akin to some popular libraries providing wrappers around imperative DOM manipulations. The core of the library tries to be as minimal as possible and isolated from Web Audio intricacies. Hopefully, other backends would be possible in the future.

Principles

  • Declarative over imperative.
  • Convenience over purity.
  • Explicitness.
  • Unambiguity.

Also relevant Dieter Rams' principles of good design applied to software engineering.

Can you improve this documentation?Edit on GitHub

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close