0.1.9 • Published 8 years ago

record-schedule v0.1.9

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

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
0.1.9

8 years ago

0.1.8

8 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.3

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago