energy-calculator
Compute per-window (default: 1s) RMS energy from a WAV file and save an energy timeline JSON for pause/opening detection.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- energy-calculator
- description
- Compute per-window (default: 1s) RMS energy from a WAV file and save an energy timeline JSON for pause/opening detection.
02 资源文件 1
- 脚本scripts/calc_energy.py2.2 KB
03 SKILL.md 正文
Steps
- Ensure the input is a WAV (ideally from
audio-extractor, mono 16kHz PCM). - Run the bundled script from the workspace:
python3 energy-calculator/scripts/calc_energy.py \ --audio /path/to/audio.wav \ --output /path/to/energies.json \ --window-seconds 1 - Sanity-check
energies.json:energiesshould be an array of numbers;total_secondsshould be close to the audio duration (may be slightly larger due to the final partial window).
Expected Result
An energies.json containing energies plus basic stats, suitable input for silence-detector and pause-detector.
04 同仓库更多 Skills
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms
video-frame-extraction
Extract frames from video files and save them as images using OpenCV
openai-vision
Analyze images and multi-frame sequences using OpenAI GPT vision models
image-ocr
Extract text content from images using Tesseract OCR via Python, including structured field extraction from receipts and forms