/audio-split

Slice audio file into subclips

Primary LanguageJavaScriptMIT LicenseMIT

audio-split

NPM

Slice audio file into subclips

Requirements

  • ffmpeg

Installation

npm install audio-split

Usage

var split = require('audio-split');

split({
  filepath: 'path/to/file.mp4',
  minClipLength: 5
  maxClipLength: 10
});

Parameters

  • filepath (String, required)
  • minClipLength (float, optional, default 5)
  • maxClipLength (float, optional, default minClipLength + 5)