cardioid

0.1.3 • Public • Published

Cardioid

A SoX leveraged recording module for Node.


Dependencies

it's highly recommended that you get familiar with SoX to get the most out of Cardioid. Rtfm.

get SoX: brew install sox

Install

npm install cardioid

Configure:

let config = {
	// logEnable must be true and quiet must be false to get a log.
	logEnable: false,
	// debugEnable must be true and quiet must be false to get a debug log.
	debugEnable: false,
	quiet: true,
	bitDepth: '16',
	sampleRate: '16k',
	channelCount: '1',
	// 0 is little endian, 1 is big endian
	endian: 0,
	type: 'raw',
	encoding: 'signed',
	threshold: {
		silence: 5,
		breakpoint: 0.1,
		min: null,
		max: null
	}
}

Examples:

let examples = "coming soon";

Readme

Keywords

none

Package Sidebar

Install

npm i cardioid

Weekly Downloads

2

Version

0.1.3

License

MIT

Unpacked Size

39.1 kB

Total Files

6

Last publish

Collaborators

  • bvautour