You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

113 lines
3.0 KiB

-- raw input: 1280237863746818918
-- hex seed: 0x11C4518DD8A25366
-- decimal seed: 1280237863746818918
-- generated at 1633699097.67
-- Auto-Techno Generator v0.1.1
do
let fourToTheFloor = 0
-- control density per track
kickM = "[1111]"
hhM = "[1111]"
sdM = "[1111]"
ohhM = "[1111]"
rimM = "[1111]"
cpM = "[1111]"
tomM = "[1111]"
rideM = "[1111]"
cymbalM = "[1111]"
p "techno"
-- fills
$ whenmod 32 31 (bite 2 "{12}%2")
$ whenmod 16 14 (bite 2 "{0}%2")
$ whenmod 32 30 (rev)
$ whenmod 16 15 (bite 4 "{4}%4")
$ whenmod 32 31 (scramble 4)
$ stack [
-- four to the floor
degradeBy fourToTheFloor $ struct "[t*4]" $ n "0" # midichan 0,
-------------- kick ---------------
mask kickM
$ struct "<[t*4]>"
$ n 0
# gain "{1 1}%16"
# midichan 0,
-------------- hh ---------------
mask hhM
$ degradeBy "<0 0 0 0 0 1 1 0>/8"
$ every 4 (degradeBy 0.93)
$ every 14 (scramble 16)
$ every 14 (stut 1 1 "0.0625")
$ (0.125 ~>)
$ struct "<t(3,8)>"
$ n 2
# gain "{1 1 0.85 0.85 0.9 0.85 0.9 0.85}%16"
# midichan 1,
-------------- sd ---------------
mask sdM
$ degradeBy "<1 1 0 0 1 1 1 0>/8"
$ struct "<[{0000}%16]>"
$ n 2
# gain "{0.9 1 1 0.85 1}%16"
# midichan 2,
-------------- ohh ---------------
mask ohhM
$ degradeBy "<1 0 0 0 1 0 1 1>/8"
$ (0.1875 ~>)
$ struct "<[tt*2]*4 [[0001]000]>"
$ n 4
# gain "{0.85 0.9 0.9 1 0.85 0.85 0.9 0.9 0.85 1 0.85}%16"
# midichan 3,
-------------- rim ---------------
mask rimM
$ degradeBy "<0 1 0 0 0 0 1 1>/8"
$ struct "<[t(6,16)]>"
$ n 2
# gain "{0.85 1 1 0.85 1}%16"
# midichan 4,
-------------- cp ---------------
mask cpM
$ degradeBy "<0 1 1 0 0 0 0 0>/8"
$ every 12 (degradeBy 0.93)
$ every 6 (rev)
$ (0.125 ~>)
$ struct "<[{0000001}%16]>"
$ n 7
# gain "{1 1 0.9 0.9 0.85 0.9 0.85 1 1}%16"
# midichan 5,
-------------- tom ---------------
mask tomM
$ degradeBy "<1 0 1 0 0 1 0 0>/8"
$ (0.1875 ~>)
$ struct "<[t(7,16)]>"
$ n 6
# gain "{0.9 0.9 0.9 0.9 0.9 0.9 1 0.9 1 0.85}%16"
# midichan 6,
-------------- ride ---------------
mask rideM
$ degradeBy "<1 1 0 1 1 0 1 1>/8"
$ every 14 ((0.125 ~>))
$ (0.125 ~>)
$ struct "<[1*16]>"
$ n 1
# gain "{1 1 0.85 0.9 1 0.9 0.9 0.9 0.9 1}%16"
# midichan 7,
-------------- cymbal ---------------
mask cymbalM
$ every 14 (degradeBy 0.93)
$ struct "<[t*4]>"
$ n 4
# gain "{1 0.85 0.85 1 0.85 0.85 0.9 1 0.85 1}%16"
# midichan 8,
------------ bassline -------
degradeBy 0
$ struct "[{1111011111110111}%16]"
$ n "[{7 18 6 20 3 7 15 0 2 10 23 5 10 16 20 22 }%16]"
# midichan 10 + n (-24),
------------ pad -------
degradeBy 0
-- $ degradeBy "<1 1 0 1 1 0 0 0>/8"
$ struct "[t ~ ~ ~]"
$ n "<[10,7,20,15]>/2"
# midichan 11 + n (0)
] # sunvox