scikit-maad 24-hour soundscape indices and false-color spectrograms
Computes the full scikit-maad alpha-index set (temporal and spectral) for the 96 fifteen-minute-spaced recordings of the scikit-maad 24-hour tutorial dataset, assembles a 24 h circadian index table, and renders diel index curves, an index-correlation map, a false-color spectrogram (R = KURT_t, G = EVNspCount, B = MEAN_t per frequency bin) and an animated circadian GIF. Tracked in community-explorer #803. All figures below are produced by the workflow's gallery activity.
Paper and software
- Juan Sebastián Ulloa, Sylvain Haupert, Juan Felipe Latorre, Thierry Aubin, Jérôme Sueur (2021). scikit-maad: An open-source and modular toolbox for quantitative soundscape analysis in Python. Methods in Ecology and Evolution 12(12): 2334–2340. DOI: 10.1111/2041-210X.13711.
- Software: scikit-maad 1.5.2 (tag
v1.5.2, BSD-3-Clause), data fromscikit-maad/scikit-maaddata/indices/at the same tag (96 WAVs of 440,044 bytes each plus the referenceindices.csv, SHA-25616ab6170…c313).
Results




The GIF (48 frames) moves a time cursor over the false-color spectrogram while the BI, nROI and ACI curves and the mean spectrum evolve.
Acceptance checks (honest outcome)
| Check | Result |
|---|---|
| All 96 recordings processed | ✓ |
| Timestamps 00:00 to 23:45 | ✓ |
| No NaN/Inf in core indices | ✓ |
| Dawn (05:00–08:45) higher ACI, nROI and bio-energy than night (00:00–02:45) | ✓ (nROI mean 697 vs 18.6; ACI 323.7 vs 295.3; BI 119 vs 19) |
| Dawn median NDSI > 0.2 | ✗ — median −0.781 (night −0.872) |
| Dawn nROI ≥ 2× night | ✓ (≈ 37×) |
Core indices agree with the repository's indices.csv | ✗ — only ACI and Hf (Pearson r = 1, median rel. error ~1e-10) agree. LEQt has r = 1 with a constant −6.02 dB offset; NDSI, BI, ADI, AEI differ. |
The reference indices.csv was generated by an earlier scikit-maad release (ROItotal/ROIcover columns; different NDSI/BI/ADI/AEI/TFSD results and a constant +6.02 dB LEQ offset). 16 indices agree with it (ZCR, BGNt, SNRt, MED, Ht, ACTt*, EVNt*, NBPEAKS, ENRf, Hf, ACI, ROU); 36 do not. Details in evidence/reference/validation_report.json and reference_comparison.csv. The 1.5.2 values are reported as computed; nothing was tuned to match.
Parameters
SM4 recorder calibration: sensitivity −35 dBV, gain 42 dB; dB_threshold 3; rejectDuration 0.01; spectrogram Hann, nperseg 1024, noverlap 512; flim_low 0–1500 Hz, flim_mid 1500–8000 Hz, flim_hi 8000–20000 Hz; R_compatible = soundecology; mask_param1 6, mask_param2 0.5. Python 3.12.3, numpy 2.5.5, scipy 1.18.1, pandas 3.1.2, scikit-image 0.26.0, scikit-learn 1.9.1, matplotlib 3.11.2.
Workflow and execution
11 activities: stage-inputs → 8 parallel extract-b0..b7 (12 files each) → assemble → gallery. The inputs are frozen into the image at build time and SHA-256 verified; activities run offline. Profile: local Docker, one vCPU and 2 GiB per slot. Cloud profiles: none executed.
| Run | Slots | Makespan | Start–end |
|---|---|---|---|
community-i803-maad-run-8slot-r1 | 8 | 41.2 s | 03:05:15–03:08:04 UTC (includes first-time image build) |
community-i803-maad-run-1slot-r1 | 1 | 85.4 s | 03:08:17–03:09:44 UTC |
Speedup 2.07× (extract blocks all overlapped; the serial gallery GIF step, ~20 s, bounds it). Outputs of the two runs are byte-identical (same SHA-256 for all nine published artifacts, also reproduced outside AkôFlow). Run records: evidence/reference/run-8slot.json, run-1slot.json; hashes: provenance.json.
Digests
- Recipe build:
recipe-build-1915f443c043da15be6679e3fe53ed84df00cfc1e6ac144bd5dde3069cd95d6a - Context:
sha256:9dc8e6557e5cbcd11eac5261d9b95f13020b9dd72b9e90b6aaa1b50f6fe8f4ba - Recipe:
sha256:4b914234721c8523e671b1ca639ff59f9cd81086de578271ec506e7f79bec03c - Base image:
python:3.12-slim-bookworm@sha256:44cf1793efa7c7a476bb0f2cff81443f4a072c90c1cb127e2924933daa3e8c64
Reproduce
./run.sh 8slot # preflight
AKOFLOW_SUBMIT=1 ./run.sh 8slot # submit (use 1slot for the single-slot plan)