Skip to content

Instantly share code, notes, and snippets.

View GuyMicciche's full-sized avatar

Guy Micciche GuyMicciche

View GitHub Profile
@GuyMicciche
GuyMicciche / splitter.js
Created November 11, 2022 01:26 — forked from nlac/splitter.js
A small js snippet to split a merged audio track to parts by silence analysis. Based on ffmpeg "silencedetect" filter and node.js.
/**
* This javascript snippet is able to split a merged audio track to parts by silence analysis
* It is based on ffmpeg (https://ffmpeg.org), especially on the silencedetect filter (https://ffmpeg.org/ffmpeg-filters.html#silencedetect)
*
* Assumptions:
* - nodejs is installed
* - ffmpeg is installed
*
* Usage:
* - fill the options object
Hex Opacity Values
100% — FF
95% — F2
90% — E6
85% — D9
80% — CC
75% — BF
70% — B3
65% — A6