#CurAntHaus
fibo = 1.618034
fibodiv = 1/fibo
fibobpm = 55/fibodiv
use_bpm 60
#Sync
live_loop :beat do
sleep 1
end
live_loop :bar, sync: :beat do
sleep 4
end
with_fx :reverb do
live_loop :bietthaus1, sync: :beat do
24.times do
sample [:bd_gas, :bass_hit_c, :bd_tek, :drum_cymbal_soft].choose, rate: rrand(0.39,0.96), cutoff: rrand(90, 120), amp: rrand(0.5,0.9)
sleep [0.5,0.25, 0.5].choose
#sleep 0.5
end
sleep 4
end
end
sleep 4
#Kickstarter1&2
live_loop :Kickstarter1, sync: :beat do
a=dice+dice
a.times do
s = synth [:mod_fm, :fm].choose, note: :g2, amp: rrand(0.1,0.4),
attack: 0.005, attack_level: 5,
release: rrand(0.1,0.5)
control s, note: :c2, note_slide: 0.125,
amp: rrand(0.7,1.4), amp_slide: 0.075
sleep 0.5
#sleep [0.5,0.25].choose
end
sleep 2
end
sleep 4
#MelodyIntermezzo
4.times do
16.times do
t = Time.now.to_i
use_random_seed t+dice
puts "Time: #{t}"
z = [58,60,63,66,68,70,72,74].choose
n = ((chord :c, :m7) + [z]).sort
v = (line 0.25, 1, steps: 100).reflect
p = (line -0.85, 0.85, steps: 100).reflect
with_fx :reverb, room: 0.75, mix: rrand(0,1) do
s = synth [:tech_saws,:supersaw].choose, note: n.tick(:n), attack: [1,1.5,0.5,0,0,0,2].choose, release: [0.5,0.5,0.5,2,1,4].choose, amp: v.tick, pan: p.look, depth: 0.1, divisor: 1
control s, amp: v.tick, amp_slide: 0.25, pan: p.look, pan_slide: 0.25, depth: 2, depth_slide: 1.5
end
sleep [0.5,0.5,1].choose
end
sleep 4
end
sleep 4
live_loop :Kickstarter2, sync: :beat do
a=dice+dice
a.times do
s = synth [:chipbass, :cnoise, :pnoise].choose, note: :g2, amp: rrand(0.1,0.4),
attack: 0.005, attack_level: 5,
release: rrand(0.01,0.25)
control s, note: :c2, note_slide: 0.125,
amp: rrand(0.3,0.8), amp_slide: 0.075
sleep [0.5,0.25,0.125].choose
end
sleep 2
end
sleep 4
#Melody
2.times do
8.times do
t = Time.now.to_i
use_random_seed t+dice
puts "Time: #{t}"
z = [58,60,63,66,68,70,72,74].choose
n = ((chord :c, :m7) + [z]).sort
v = (line 0.25, 1, steps: 100).reflect
p = (line -0.85, 0.85, steps: 100).reflect
with_fx :reverb, room: 0.75, mix: rrand(0,1) do
s = synth :hollow, note: n.tick(:n), attack: [1,1.5,0.5,0,0,0,2].choose, release: [0.5,0.5,0.5,2,1,4].choose, amp: v.tick, pan: p.look, depth: 0.1, divisor: 1
control s, amp: v.tick, amp_slide: 0.25, pan: p.look, pan_slide: 0.25, depth: 2, depth_slide: 1.5
end
sleep [0.5,0.25,0.5,1,0.25].choose
end
sleep 4
end
sleep 4
#TheBells
live_loop :bassoraita1, sync: :beat do
use_synth [:mod_pulse, :pulse].choose
use_synth_defaults release: rrand(0.01, 0.25), amp: rrand(0.6,1.2)
with_fx :reverb, room: [0.5,0.7,0.9].choose, mix: rrand(0.24,0.64) do
nuotit = (ring :C3, :C5, :r, :Eb3, :r, :G3, :Bb2, :r)
play nuotit.tick, cutoff: rrand(70, 120)
end
sleep [0.5,0.5,0.5,1].choose
end
sleep 4
live_loop :bassoraita2, sync: :beat do
use_synth [:tech_saws, :fm].choose
use_synth_defaults release: rrand(0.01, 0.25), amp: rrand(0.4,0.8)
with_fx :reverb, room: [0.5,0.7,0.9].choose, mix: rrand(0.24,0.64) do
nuotit = (ring :C3, :C5, :r, :Eb3, :r, :G3, :Bb2, :r)
play nuotit.tick, cutoff: rrand(70, 120)
end
sleep [0.5,0.5,1].choose
end
#StretchSection
sleep 4
live_loop :luuppibiitti1, sync: :beat do
with_fx :reverb, mix: rrand(0.25,0.85) do
t=4
u=dice
sample :bd_tek, beat_stretch: u, amp: u
sleep t+u
end
end
sleep 4
live_loop :luuppibiitti2, sync: :beat do
with_fx :bpf, mix: rrand(0.25,0.85) do
t=0.5
u=dice
u.times do
sample :bd_gas, beat_stretch: u, amp: u
sleep t+u
end
sleep 4
end
end
3 Likes
2 Likes