Liking cljdoc? Tell your friends :D

reelthyme.audio.java

Audio capture and playback for Clojure on the JVM. Powered by javax.sound.sampled

Audio capture and playback for Clojure on the JVM. Powered by javax.sound.sampled
raw docstring

capture-audio!clj

(capture-audio!
  callback
  &
  {:keys [buffer-size max-chunk-bytes interval-ms]
   :or {buffer-size 4096 max-chunk-bytes (* 15 1024 1024) interval-ms 1000}})

Capture audio from the default microphone in PCM16 format (24000Hz, mono), Base64-encodes chunks, and invokes callback with each chunk. Returns a stop-fn to stop recording.

Capture audio from the default microphone in PCM16 format (24000Hz, mono), Base64-encodes chunks, and invokes callback with each chunk. Returns a stop-fn to stop recording.
sourceraw docstring

stream-audio!clj

(stream-audio! audio-ch)

An audio streaming function that plays streamed audio via javax.sound.sampled on a separate thread

An audio streaming function that plays streamed audio via javax.sound.sampled on a separate thread
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close