R/SoundEnergyByMinute.R
SoundEnergyByMinute.RdThis function reads a sound manifest, converts FLAC files to WAV using the external `sox` utility, concatenates sequential audio files, computes per-minute log10(RMSE) values, applies an 11-minute rolling average, generates diagnostic plots, and writes grouped CSV outputs.
A data frame containing the initial sound manifest created by CreateManifest(), including
at least the columns fileLength.min, startTime.hhmm,
group, plot, date.mmdd, area, and year.
Sheet name in the manifest file.
Root directory containing FLAC audio files.
Directory for CSV and JPG outputs.
Temporary directory for WAV conversion.
Filter manifest rows by `startTime.hhmm`.
Numeric vector of length 2 giving y-axis limits for plots.
A data frame containing minute-level noise metrics for all files.
Requires the external program **SoX** to be installed and available on the system PATH. Each FLAC file is temporarily converted to WAV before analysis.
Output includes:
Per-minute log10(RMSE)
11-minute rolling mean
JPG plots of noise time series
Grouped CSV files by group × year