Skip to content

Instantly share code, notes, and snippets.

View phialahydrite's full-sized avatar

Phiala Thouvenin phialahydrite

View GitHub Profile
@phialahydrite
phialahydrite / morphagene_onset.py
Last active May 31, 2024 13:59
Python program to automatically generate onset-detected splices in Morphagene reels
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""
Usage:
morphagene_onset.py -w <inputwavfile> -o <outputfile> -s <splicecount>
Use the Superflux onset detection algorithm with backtracking to generate
splice locations.
Use these splice locations with a converted WAV (to 32-bit float / 48000Hz)
to make Morphagene reels.