# 230730 0037 bpm33 sine mel groove Hydra YT
# saved 230730 0037
# YT https://youtu.be/9oFn5JOhV1E
set_volume! 2
use_bpm 33 #33
with_fx :reverb do
with_fx :distortion, mix: 0 do |dist|
with_fx :krush, mix: 0 do |krush|
with_fx :bitcrusher, mix: 0 do |bit|
live_loop :a1 do
tick
dm = [0,0.2,0.4,0.6].choose
km = [0,0.2,0.4,0.6].choose
bm = [0,0.2,0.4,0.6].choose
control dist, mix: dm
control krush, mix: km
control bit, mix: bm
/ drums /
sample :bd_fat, amp: 2 if bools(1,0,0,0).look
sample :bd_808, amp: 4 if bools(0,0,0,0, 0,0,1,0).look
sample :tabla_dhec, finish: [0.02,0.04,0.05,0.8].choose, pan: rdist(0.5),rate: 8, amp: 2 if spread([11,22].choose,32).choose
use_synth [:saw, :dsaw, :square, :chipbass, :prophet].choose
#use_synth :chipbass #original
n = :c2
n = knit(n, 32, n-5,16, n-4,16).look
play n, release: 0.2 if bools(1,1,1,0,0,0,0).look
play n+12, amp: 0.5, release: 0.1 if bools(0,1,0,[1,1].choose,0,1,0).look
sleep 0.125
end
end;end;end;end
with_fx :reverb, room: 0.8 do
live_loop :mel1 do
tick
/change here/
mel =1
mel = knit(1,4, 3,64, 0,64).look
#mel = knit(4,64).look
#mel = 2
case mel
when 0
sleep 0.125
when 1
# tick
play [:g4, :as4, :ds4,nil].look, amp: 1
sleep [2, 2, 2, 2].look
when 2 # nice 7/8 mel
# tick
play [nil,:c4, :d4,:ds4, :f4,:g4, :g4,:f4,:g4].look, amp: 1, release: 0.2
s = 0.125
#sleep [s*4,s, s, s, s, s*2 ,s, s,s*8].look
sleep [s*4,s, s, s, s, s*2 ,s, s,s*(12+4)].look
when 3
amp = line(0.25,0.75,steps: 32).mirror.look
play [:c4, :d4,:ds4, :f4].look+12, release: 0.1, amp: amp, pan: rdist(1)
sleep 0.125
when 4
amp = line(0.25,0.75,steps: 32).mirror.look
play [:c4, :d4,:ds4, :f4].reverse.look+12, release: 0.1, amp: amp, pan: rdist(1)
sleep 0.125
end
end
end
# Hydra code
# //s2.initScreen()
#src(s2).thresh(0.2).scrollX(1,0.002).scale(1,1.1).scrollY(0,[0,0.01,-0.02,0.03,-0.01].smooth(0.001)).pixelate(100,[1,2,4,8,16,32,100]).color([0,0,1], [1,0,0], [0,1,0]).out()
# link to hydra code
# https://hydra.ojack.xyz/?code=JTJGJTJGczIuaW5pdFNjcmVlbigpJTIwJTBBJTJGJTJGc3JjKHMwKS5sdW1hKDAuOCkucGl4ZWxhdGUoMzAwJTJDMTAwKS5ibGVuZChvMCUyQzAuOTUpLnNjYWxlKDEuMDUpLm91dCgpJTIwJTJGJTJGJTIwV2ViY2FtJTIwZmVlZGJhY2slMjBmcm9tJTIwJTBBJTJGJTJGc3JjKHMyKS50aHJlc2goMC42KS5waXhlbGF0ZSgzMDAwJTJDMzAwMCkubWFzayhzaGFwZSg0JTJDMC44KS5zY2FsZSgxJTJDOSUyRjE2KSkub3V0KCklMEFzcmMoczIpLnRocmVzaCgwLjIpLnNjcm9sbFgoMSUyQzAuMDAyKS5zY2FsZSgxJTJDMS4xKS5zY3JvbGxZKDAlMkMlNUIwJTJDMC4wMSUyQy0wLjAyJTJDMC4wMyUyQy0wLjAxJTVELnNtb290aCgwLjAwMSkpLnBpeGVsYXRlKDEwMCUyQyU1QjElMkMyJTJDNCUyQzglMkMxNiUyQzMyJTJDMTAwJTVEKS5jb2xvciglNUIwJTJDMCUyQzElNUQlMkMlMjAlNUIxJTJDMCUyQzAlNUQlMkMlMjAlNUIwJTJDMSUyQzAlNUQpLm91dCgpJTBBJTBBJTBB
1 Like
Some great hydra accompanying this.
1 Like