Add an experimental audio recorder
Checklist
-
Use a cron-like Node module to start/stop recordings every 30-minutes. -
Write the MP3 audio to disk, in the archives folder. See Settings for archives directory path. -
Add an option to the Settings that lets users enable/disable audio recordings. -
Filename format: recording_2017-12-31_08-00-00.mp3
auto-record example:
Old checklist items kinda resolved by- Use an audio recording module to capture PCM audio. Possibly node-record-lpcm16.
- Use SoX as the audio recorder, since it can be compiled cross-platform (Windows, Mac, Linux).
- Make sure that SoX is installed on the PATH of the host Windows system and that SoX includes the LAME encoder for MP3 (they have pre-compiled binaries, just make sure it has LAME included).
- Or, if easier, just pipe the PCM audio to an
ffmpeg
module that encodes it to 128kbit MP3.
Possible Resources
Edited by Travis