record-schedule

0.1.9 • Public • Published

record-schedule - Record audio on a recurring schedule and post to a server using SoX and LAME

NPM version Dependency Status

record-schedule is a CLI to run a background service that will:

  1. Automatically record audio on a recurring schedule using the sox CLI
  2. Convert the audio to MP3 using the lame CLI
  3. Post MP3 to a remote server

Installation

  • Requires Node.js to be installed. You'll typically find this available in your OS package manager.
  • Requires the sox and lame CLI to be installed.
  • npm install -g record-schedule (You may need to run this under sudo.)

Configuration

To locate your config.js file run:

$ record-schedule config

The config variables are:

config.minutesToRecord =  10;
config.recurrance.hour = 15;
config.recurrance.minute = 30;
config.recurrance.second = 0;
config.recurrance.dayOfWeek = 5;
config.server.url =  '<url>';
// Optional Parameters
config.params.foo = 'bar';

Recurrance

Running

$ record-schedule start
  • To stop scheduled recordings
$ record-schedule stop

Readme

Keywords

Package Sidebar

Install

npm i record-schedule

Weekly Downloads

1

Version

0.1.9

License

MIT

Last publish

Collaborators

  • adriancarriger