using aubio and sox to generate breakbeats
must install aubio and sox first. also you need lua (5.1+).
> sudo apt install aubio-tools sox
to make movies you also need ffmpeg
, imagemagick
, and audiowaveform
.
> sudo apt install ffmpeg audiowaveform imagemagick
NAME
dnb.lua - generative drum & bass
DESCRIPTION
-i, --input string
input filename
--input-tempo value
tempo of input file (defaults to determine automatically)
-o, --output string
output filename
--make-movie
creates movie (SLOW, and requires audiowaveform, ffmpeg, imagemagick)
-b, --beats value
number of beats
-t, --tempo value
tempo of generated beat
-d, --debug
debug mode
--no-logo
don't show logo
--global-lfo
modulate every probability by a global lfo (random)
--reverse value
probability of reversing (0-100%, default 10%)
--stutter value
probability of stutter (0-100%, default 5%)
--pitch value
probability of pitch up (0-100%, default 10%)
--trunc value
probability of truncation (0-100%, default 5%)
--half value
probability of slow down (0-100%, default 1%)
--reverb value
probability of adding reverb tail to kick/snare (0-100%, default 2%)
--deviation value
probability of deviating from base pattern (0-100%, default 30%)
--kick value
probability of snapping a kick to down beat (0-100%, default 80%)
--kick-mix value
volume of added kick in dB (default -6)
--snare value
probability of snapping a snare to up beat (0-100%, default 50%)
--snare-mix value
volume of added snare in dB (default -6)
--bassline
add bassline
> ./dnb.lua -b 16 -i amen_resampled.wav -o something.wav -trunc 5 -stutter 40 -kick 50 -deviation 20 --snare 30 --reverse 10 --pitch 5 --kick-mix -6 --snare-mix -6 --reverb 2 --tempo 160 --bassline