Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/brianium/blah

A library for working with microphones in ClojureScript
https://github.com/brianium/blah

audio-processing clojurescript microphone

Last synced: about 1 month ago
JSON representation

A library for working with microphones in ClojureScript

Awesome Lists containing this project

README

        





Blah

Blah lets you stream babbling itself!

A ClojureScript library for reading audio input (i.e microphone input) as a stream of data. Record it! Transform it! Send it
some place for transcription! The possibilities are endless!

[![cljdoc badge](https://cljdoc.org/badge/com.github.brianium/blah)](https://cljdoc.org/d/com.github.brianium/blah/CURRENT) [![Clojars Project](https://img.shields.io/clojars/v/com.github.brianium/blah.svg)](https://clojars.org/com.github.brianium/blah)

## Table of contents

- [Usage](#usage)
- [Inputs](#inputs)
- [Transducers](#transducers)
- [Caveats](#caveats)
- [Data](#data)
- [Development](#development)
- [Advanced Compilation](#advanced-compilation)

### Usage

Blah is built on top of [core.async](https://github.com/clojure/core.async). It produces a channel that yields audio data as a stream of Float32 samples.

```clojure
(require '[blah.core :as blah])

;;; Start a session using the default input
(let [session (blah/listen)]
(go-loop []
(let [audio-data (