Skip to content

Instantly share code, notes, and snippets.

View birla's full-sized avatar
🎯
Focusing

Prakhar Birla birla

🎯
Focusing
View GitHub Profile
@birla
birla / .block
Created April 3, 2023 05:47 — forked from tomshanley/.block
Sankey with circular links
license: mit
@birla
birla / remove_silence.ts
Created April 30, 2022 17:13 — forked from smashah/remove_silence.ts
A simple way to remove silences below a certain threshold in an audio file [NODEJS/TS]
//add this to your package.json
// "audio-buffer-utils": "^5.1.2",
// "audio-decode": "^1.4.0",
// "audiobuffer-to-wav": "^1.0.0",
// "node-lame": "^1.2.0",
// "ogg.js": "^0.1.0",
// "opus.js": "^0.1.1",
const fs = require('fs');