energy-calculator
Compute RMS energy in fixed time windows (typically 1s) from a WAV file and save it as JSON for silence/pause detectors.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 0
- Forks
- 1
01 前言 Front Matter
- name
- energy-calculator
- description
- Compute RMS energy in fixed time windows (typically 1s) from a WAV file and save it as JSON for silence/pause detectors.
02 资源文件 1
- 脚本scripts/calc_energy.py2.2 KB
03 SKILL.md 正文
Steps
- Run the energy calculator (keep
--window-seconds 1unless you also update downstream time interpretation):python3 /root/.claude/skills/energy-calculator/scripts/calc_energy.py \ --audio /root/audio.wav \ --output /root/energies.json \ --window-seconds 1 - Use the printed stats (
min/max/mean/std) to sanity-check that energies are non-zero and have dynamic range (helps later threshold tuning).
Expected Result
An energies.json containing window_seconds, total_seconds, and an energies array whose indices correspond to (approximately) seconds on the video timeline.
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