makebreakbeat
project name: makebreakbeat
project url: https://github.com/schollz/makebreakbeat
author: infinitedigits
description: make breakbeats from samples
discussion url: https://llllllll.co/t/makebreakbeat/53301
tags: sampler drum

makebreakbeat

make break beats.

img

this script is a wrapper for another script I wrote that generates breakbeats from a drum sample. I made this to learn more about sox and aubio as all the audio is generated with those tools.

Requirements

Documentation

to “break” a beat, this script first determines the tempo of the input file. it then determines onsets based on the tempo (minimum distance being sixteenth notes) and splits the input file into slices by onset markers. it then takes each slice and manipulates the slice with effects with some probability. the manipulated slice is then appended to an audio file at a position quantized to the desired tempo (set by norns clock). all the effect probabilities are available to modify in the parameters.

all the resulting audio files are automatically put into the ~/dust/audio/makebreakbeat folder.

notes

this script generates beats slowly. to get around this I suggest generating short beats (8-16 beats) continuously (beats continue to play when generating).

Install

install with

;install https://github.com/schollz/makebreakbeat

once you start the script for the first time it will install aubio and sox (~5 MB total).