Skip to content

Instantly share code, notes, and snippets.

@antonarhipov
Created October 24, 2024 11:37
Show Gist options
  • Save antonarhipov/2e214d122147cfc24366f1bef666c500 to your computer and use it in GitHub Desktop.
Save antonarhipov/2e214d122147cfc24366f1bef666c500 to your computer and use it in GitHub Desktop.
Sonic Pi Dark House program
##| Generated Sonic Pi code for Dark House:
use_bpm 120
live_loop :atmos_pad do
use_synth :dark_ambience
play chord(:C3, :minor), release: 8, amp: 0.4
sleep 8
end
live_loop :drums do
sample :bd_tek, rate: 0.8, amp: 1.2
sleep 1
sample :drum_cymbal_closed, rate: 0.8, amp: 0.4
sleep 0.5
sample :drum_snare_soft, rate: 0.7, amp: 0.6
sleep 0.5
end
live_loop :bassline do
use_synth :tb303
play 39, release: 0.8, cutoff: 70, res: 0.8, wave: 1, amp: 0.7
sleep 1.0
play 36, release: 0.8, cutoff: 70, res: 0.8, wave: 1, amp: 0.7
sleep 1.0
play 36, release: 0.8, cutoff: 70, res: 0.8, wave: 1, amp: 0.7
sleep 1.0
play 41, release: 0.8, cutoff: 70, res: 0.8, wave: 1, amp: 0.7
sleep 1.0
end
live_loop :melody do
use_synth :prophet
play 60, release: 0.5, cutoff: rrand(70, 100), amp: 0.3
sleep 0.25
play 63, release: 0.5, cutoff: rrand(70, 100), amp: 0.3
sleep 0.25
play 67, release: 1.0, cutoff: rrand(70, 100), amp: 0.3
sleep 0.5
play 72, release: 0.5, cutoff: rrand(70, 100), amp: 0.3
sleep 0.25
play 72, release: 1.0, cutoff: rrand(70, 100), amp: 0.3
sleep 0.5
play 63, release: 0.5, cutoff: rrand(70, 100), amp: 0.3
sleep 0.25
play 65, release: 1.0, cutoff: rrand(70, 100), amp: 0.3
sleep 0.5
play 67, release: 0.5, cutoff: rrand(70, 100), amp: 0.3
sleep 0.25
end
live_loop :fx do
sample :ambi_lunar_land, rate: 0.5, amp: 0.2
sleep 16
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment