0.2.2 • Published 6 years ago

aikumic v0.2.2

Weekly downloads
3
License
MIT
Repository
github
Last release
6 years ago

Aikumic

A microphone service.

project features

  • Web Audio microphone
  • Stores raw PCM audio to indexeddb to minimize RAM usage (with service worker)
  • Records segments to support undo operations
  • Segments are resampled to given supplied sample rate
  • Supports wav export of segments or entire recording (all segments)
  • simple fade in/out to minimize start stop clicking
  • microphone recording time observable (decoupled from script processor node)
  • playback features

developer documentation

how to build and test:

  • clone the repository
  • in the cloned folder, run npm install
  • run npm test to build and test the code in both nodejs and browser

how to debug (browser):

  • run npm start to run a development server
  • open http://localhost:8080/webtest.bundle to run live tests that will update while you change the source code

Based on https://github.com/wix/typescript-boilerplate

API example

import { Microphone } from 'aikumic'
const mic = new Microphone({debug: true, resampleRate: 16000})
mic.observeProgress().subscribe((time) => {
  console.log('time:',time)
})
mic.record()
...
mic.stop().then(() => {
  wavblob = mic.exportAllWav()
})
0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.8

6 years ago

0.1.7

6 years ago

0.1.6

6 years ago

0.1.5

6 years ago

0.1.4

6 years ago

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago