This is a project intended to support unattended data collection in a way that protects the data being collected. The initial project is aimed at audio recording using a Raspberry Pi Zero (simple, low hanging fruit), with the intention of being extensible for other uses.
GNU General Public License v3.0
0
stars
0
forks
source link
Recording does not begin when the microphone is connected (latency of 5 minutes on average) #4
Because recording is started using cron periodically (every 10 minutes on the 10th minute) and not otherwise, there is about 5 minutes between when the microphone is connected and recording begins.
The mitigation for this issue is that there is visual indication when the microphone begins recording (the LED is extinguished when the microphone is recording), but this does impact other issues.
The initial plan for this is to try to switch to using systemd and udev(?) to trigger recording automatically when microphone is attached. This will also be a good pattern for other data sources. It is of value to:
Mark the first recording after the microphone is connected,(to permit / ease time sync based on that time) and
Make recordings of limited duration (to limit exposure of already recorded data due to loss of control of keys that must be in place while recording is occurring).
Because recording is started using cron periodically (every 10 minutes on the 10th minute) and not otherwise, there is about 5 minutes between when the microphone is connected and recording begins.
The mitigation for this issue is that there is visual indication when the microphone begins recording (the LED is extinguished when the microphone is recording), but this does impact other issues.