0.1.2 • Published 8 years ago

line-in v0.1.2

Weekly downloads
7
License
MIT
Repository
github
Last release
8 years ago

Line In

Capture audio with a simple stream interface.

Installation

npm install --save line-in

Usage

const LineIn = require('line-in')
const Speaker = require('speaker')

const input = new LineIn()
const output = new Speaker({ signed: true })

input.pipe(output)

API

new LineIn()

Returns a Readable stream that emits chunks of raw audio data.

Currently only 2-channel 16-bit little-endian signed integer pcm encoded data is supported.

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago