Discovers WAV/FLAC files via pam_list_audio, computes indices
with pam_soundscape_batch, and writes hourly/diel/site summaries.
Arguments
- cfg
List. Parsed configuration structure from
pam_config_read.- test_n
Integer. Optional. Process only this many files (for tests).
