-
-
Save brycec/c4215a66a79423f863ed8291a8b9dd00 to your computer and use it in GitHub Desktop.
#beats
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
use_bpm 60 | |
use_random_seed 13 | |
rhy = (ring 0.75, 0.75, 1, 0.75, 0.75) | |
with_fx :reverb, mix: 0.2, room: 0.6 do | |
live_loop :kick do | |
sample :bd_tek, beat_stretch: 0.3, amp: 2 | |
sleep rhy.tick | |
end | |
live_loop :punch do | |
sleep 1 | |
sample :sn_dub, beat_stretch: 0.2, amp: 0.8 | |
sleep 1 | |
end | |
with_fx :slicer, invert_wave: 1, pulse_width: 0.1, smooth_up: 1.5 do |s| | |
live_loop :s_ctrl do | |
x = rhy.tick | |
control s, phase: x | |
sleep x | |
end | |
live_loop :chop do | |
sample :drum_cymbal_pedal, beat_stretch: 0.4 | |
sleep 0.25 | |
sample :drum_cymbal_pedal, beat_stretch: 0.39, amp: 0.8 | |
sleep 0.25 | |
end | |
live_loop :base do | |
use_synth :tri | |
l = rhy.length | |
e = play (knit :e1, l, :e2, l).tick(:b), attack: rhy.tick(:a)/2, sustain: 0.25, release: 0.5, cutoff: 0, cutoff_slide: 0.5 | |
control e, cutoff: 130, amp: 2 | |
sleep rhy.tick | |
end | |
with_fx :echo, decay: 3, phase_slide: 8, mix: 0.4, amp: 0.6 do |e| | |
live_loop :vox do | |
control e, phase: rand(0.25) | |
in_thread do | |
2.times do | |
sample :ambi_choir, beat_stretch: 2, start: 1, finish: 0, amp: 0.9 | |
sleep 2 | |
end | |
end | |
sample :ambi_choir, beat_stretch: 4, start: 1, finish: 0 | |
sleep 6.25 | |
sample :ambi_choir, beat_stretch: 1, start: 1, finish: 0.25 | |
sleep 0.75 | |
8.times do | |
sample :ambi_choir, beat_stretch: 1, start: 0.25, finish: 0.1 | |
sleep 1/8.0 | |
end | |
end | |
live_loop :tickle do | |
use_synth :beep | |
play (scale :e3, :chinese, num_octaves: 3).pick, amp: rand(0.7), release: rand(0.3) | |
sleep 1/8.0 | |
end | |
end | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment