Skip to content
This repository was archived by the owner on Oct 3, 2025. It is now read-only.

Latest commit

 

History

History
32 lines (26 loc) · 624 Bytes

File metadata and controls

32 lines (26 loc) · 624 Bytes
node get-detections.js --since 2024-11-13T00:00:00Z
node get-detections.js --all
// Optional:
//   --endpoint https://live.orcasound.net/graphql
//   --limit 250
//   --out json/detections.json
//   --nodeName rpi_sunset_bay  


npx ts-node src/pairs-from-hls.ts json/example-detections.json \
  --via ffmpeg \
  --toS3 \
  --bucket acoustic-sandbox \
  --prefix clap-model/ \
  --region us-east-2 \
  --skipIfExists \
  --appendCsv true \
  --resumeCsv \
  --concurrency 10 \
  --encodeConcurrency 4 \
  --flacLevel 3

npx ts-node pairs-from-flac.ts <detections.json> [--fmt wav|flac] [--csvOnly]