Liking cljdoc? Tell your friends :D

infinitelives.utils.sound


!soundscljs

source

audio-contextcljs

source

default-gaincljs

source

get-soundcljs

(get-sound key)
source

load-soundcljs

(load-sound url)

Initiates a download of the url as a sound. Returns a channel. When loaded and decoded, sends a decoded buffer object down the channel. This buffer can be used directly as a sound source

Initiates a download of the url as a sound. Returns a channel.
When loaded and decoded, sends a decoded buffer object down the
channel. This buffer can be used directly as a sound source
sourceraw docstring

play-soundcljs

(play-sound buff)
(play-sound buff g & [loop-flag])

pass this a buffer, and an optional gain parameter, and the sound will be played to the speakers

pass this a buffer, and an optional gain parameter, and the
sound will be played to the speakers
sourceraw docstring

register-sound!cljs

(register-sound! url obj)
source

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

× close