Skip to content

Instantly share code, notes, and snippets.

@aabs
Created August 26, 2021 23:34
Show Gist options
  • Save aabs/c753464d12f54b14c08fa83aa796849d to your computer and use it in GitHub Desktop.
Save aabs/c753464d12f54b14c08fa83aa796849d to your computer and use it in GitHub Desktop.
A Friday morning soundscape to code to
THEscale = :harmonic_minor
#bass_notes = (ring :e1, :d1, :a1)
#bass_notes = (scale :e1, :minor_pentatonic, num_octaves: 1)
bass_notes = (scale :e1, THEscale, num_octaves: 1)
mid_notes = (scale :b2, THEscale, num_octaves: 1)
top_notes = (scale :fs3, THEscale, num_octaves: 1)
with_fx :reverb, room: 1 do
live_loop :time do
synth :prophet, release: 8, note: bass_notes.choose, cutoff: 60, amp: 1
sleep 4
end
live_loop :time2 do
synth :prophet, release: 8, note: mid_notes.choose, cutoff: 60, amp: 1.5
sleep 4
end
with_fx :echo do
live_loop :vortex do
16.times do
play top_notes.choose, release: 0.2, amp: 1
sleep 0.125
end
end
end
end
live_loop :guit do
#stop
with_fx :echo, mix: 0.3, phase: 0.25 do
sample :guit_em9, rate: -0.5
end
sleep 4
end
live_loop :x1 do
#sample :loop_garzul, rate: 0.75, finish: 0.5, amp: 0.15
sample :loop_industrial, beat_stretch: 4, amp: 0.15
sleep 4
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment