Makebreakbeat
a norns script to make breakbeat audio files
Install / Use
/learn @schollz/MakebreakbeatREADME
makebreakbeat
make break beats.

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
- norns
Documentation
- press K2 to generate beat
- press K3 to toggle playing
- use any E to change sample
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.
- deviation: probability of deviating from base pattern (0-100%)
- reverse: probability of reversing (0-100%)
- stutter: probability of stutter (with random volume/pitch ramps) (0-100%)
- pitch: probability of pitch up (0-100%)
- trunc: probability of truncation (0-100%)
- half: probability of slow down (0-100%)
- reverb: probability of adding reverb tail to kick/snare (0-100%)
- stretch: probability of stretching audio (0-100%)
- kick: probability of snapping a kick to down beat (0-100%)
- snare: probability of snapping a snare to down beat (0-100%)
- kick db: volume of added kick in dB (-96-0 dB)
- snare db: volume of added snare in dB (-96-0 dB))
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).
Related Skills
node-connect
351.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.9kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
