Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/brianium/blah
- Owner: brianium
- License: mit
- Created: 2022-02-18T15:43:39.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-11T11:20:11.000Z (almost 2 years ago)
- Last Synced: 2025-01-07T17:15:02.446Z (about 1 month ago)
- Topics: audio-processing, clojurescript, microphone
- Language: Clojure
- Homepage: https://brianium.github.io/blah/
- Size: 1.34 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![]()
![]()
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](https://cljdoc.org/d/com.github.brianium/blah/CURRENT) [](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 (