Skip to content

Instantly share code, notes, and snippets.

View RichardJohnn's full-sized avatar

Richard RichardJohnn

  • HackerNoon
  • Michigan
  • 08:34 (UTC -05:00)
View GitHub Profile
@RichardJohnn
RichardJohnn / split-transients.py
Created February 9, 2023 23:01 — forked from kylemcdonald/split-transients.py
Split an audio file into multiple files based on detected onsets from librosa.
#!/usr/bin/env python
import argparse
import soundfile
import librosa
import numpy as np
import os
from progressbar import ProgressBar, Percentage, Bar
parser = argparse.ArgumentParser(