Skip to content

Instantly share code, notes, and snippets.

@Dreat
Created April 11, 2021 16:41
Show Gist options
  • Save Dreat/0becd46616b79a652b3e56d5a98c920a to your computer and use it in GitHub Desktop.
Save Dreat/0becd46616b79a652b3e56d5a98c920a to your computer and use it in GitHub Desktop.
use_bpm 70
live_loop :met do
sleep 1
end
live_loop :drums, sync: :met do
sample :drum_bass_soft, lpf: 90
sleep 0.5
sample :drum_snare_soft
sample :drum_bass_soft, lpf: 90
sleep 0.5
density 2 do
sample :drum_bass_soft, lpf: 90
sleep 0.5
end
sample :drum_snare_soft
sample :drum_bass_soft, lpf: 90
sleep 0.5
end
live_loop :hihat, sync: :met do
sleep 0.25
with_fx :reverb, room: 0.7, mix: 0.7 do
sample :drum_cymbal_closed, lpf: 100
end
sleep 0.25
end
live_loop :bass, sync: :met do
stop
a = 0
r = 0.2
use_synth :dsaw
with_fx :bitcrusher, mix: 0.9, cutoff: 100 do
16.times do
play :d2, release: r, attack: a
sleep 0.25
end
16.times do
play :fs2, release: r, attack: a
sleep 0.25
end
16.times do
play :a2, release: r, attack: a
sleep 0.25
end
12.times do
play :c2, release: r, attack: a
sleep 0.25
end
4.times do
play :e2, release: r, attack: a
sleep 0.25
end
end
end
live_loop :bass2, sync: :met do
##| stop
use_synth :dsaw
r = 1
a = 0.25
with_fx :flanger do
with_fx :bitcrusher, mix: 0.9, cutoff: 100 do
4.times do
play :d2, release: r, attack: a
sleep 1
end
4.times do
play :fs2, release: r, attack: a
sleep 1
end
4.times do
play :a2, release: r, attack: a
sleep 1
end
3.times do
play :c2, release: r, attack: a
sleep 1
end
play :e2, release: r, attack: a
sleep 1
end
end
end
live_loop :chords, sync: :met do
a = 1
r = 1
use_synth :mod_pulse
with_fx :slicer, phase: 0.125 do
with_fx :reverb, amp: 1, mix: 0.8, room: 0.7 do
4.times do
play (chord :d, :minor), amp: a, release: r
sleep 1
end
4.times do
play (chord :fs, :major), amp: a, release: r
sleep 1
end
4.times do
play (chord :a, :minor), amp: a, release: r
sleep 1
end
4.times do
play (chord :c, :major), amp: a, release: r
sleep 1
end
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment